Peter Bacsko created YUNIKORN-1180:
--------------------------------------
Summary: JSON parse error when creating placeholders
Key: YUNIKORN-1180
URL: https://issues.apache.org/jira/browse/YUNIKORN-1180
Project: Apache YuniKorn
Issue Type: Bug
Components: shim - kubernetes
Reporter: Peter Bacsko
When placeholders are created, the following error message is printed:
{noformat}
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/[email protected]/tools/cache/controller.go:231
k8s.io/client-go/tools/cache.FilteringResourceEventHandler.OnAdd
/home/bacskop/go/pkg/mod/k8s.io/[email protected]/tools/cache/controller.go:264
k8s.io/client-go/tools/cache.(*processorListener).run.func1
/home/bacskop/go/pkg/mod/k8s.io/[email protected]/tools/cache/shared_informer.go:777
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1
/home/bacskop/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:155
k8s.io/apimachinery/pkg/util/wait.BackoffUntil
/home/bacskop/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:156
k8s.io/apimachinery/pkg/util/wait.JitterUntil
/home/bacskop/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:133
k8s.io/apimachinery/pkg/util/wait.Until
/home/bacskop/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:90
k8s.io/client-go/tools/cache.(*processorListener).run
/home/bacskop/go/pkg/mod/k8s.io/[email protected]/tools/cache/shared_informer.go:771
k8s.io/apimachinery/pkg/util/wait.(*Group).Start.func1
/home/bacskop/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:73
{noformat}
The error is most likely harmless. It was introduced by YUNIKORN-1161.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]