Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-1180

JSON parse error when creating placeholders

    XMLWordPrintableJSON

Details

    Description

      When placeholders are created, the following error message is printed:

      2022-04-20T15:43:04.720Z	ERROR	general/general.go:146	unable to get taskGroups for pod	{"namespace": "default", "name": "tg-groupa-gang-app-3-15", "error": "unexpected end of JSON input"}
      github.com/apache/yunikorn-k8shim/pkg/appmgmt/general.(*Manager).getAppMetadata
      	/home/bacskop/repos/incubator-yunikorn-k8shim/pkg/appmgmt/general/general.go:146
      github.com/apache/yunikorn-k8shim/pkg/appmgmt/general.(*Manager).addPod
      	/home/bacskop/repos/incubator-yunikorn-k8shim/pkg/appmgmt/general/general.go:239
      k8s.io/client-go/tools/cache.ResourceEventHandlerFuncs.OnAdd
      	/home/bacskop/go/pkg/mod/k8s.io/client-go@v0.20.11/tools/cache/controller.go:231
      k8s.io/client-go/tools/cache.FilteringResourceEventHandler.OnAdd
      	/home/bacskop/go/pkg/mod/k8s.io/client-go@v0.20.11/tools/cache/controller.go:264
      k8s.io/client-go/tools/cache.(*processorListener).run.func1
      	/home/bacskop/go/pkg/mod/k8s.io/client-go@v0.20.11/tools/cache/shared_informer.go:777
      k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1
      	/home/bacskop/go/pkg/mod/k8s.io/apimachinery@v0.20.11/pkg/util/wait/wait.go:155
      k8s.io/apimachinery/pkg/util/wait.BackoffUntil
      	/home/bacskop/go/pkg/mod/k8s.io/apimachinery@v0.20.11/pkg/util/wait/wait.go:156
      k8s.io/apimachinery/pkg/util/wait.JitterUntil
      	/home/bacskop/go/pkg/mod/k8s.io/apimachinery@v0.20.11/pkg/util/wait/wait.go:133
      k8s.io/apimachinery/pkg/util/wait.Until
      	/home/bacskop/go/pkg/mod/k8s.io/apimachinery@v0.20.11/pkg/util/wait/wait.go:90
      k8s.io/client-go/tools/cache.(*processorListener).run
      	/home/bacskop/go/pkg/mod/k8s.io/client-go@v0.20.11/tools/cache/shared_informer.go:771
      k8s.io/apimachinery/pkg/util/wait.(*Group).Start.func1
      	/home/bacskop/go/pkg/mod/k8s.io/apimachinery@v0.20.11/pkg/util/wait/wait.go:73
      

      The error is most likely harmless. It was introduced by YUNIKORN-1161.

      Attachments

        Issue Links

          Activity

            People

              pbacsko Peter Bacsko
              pbacsko Peter Bacsko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: