Weiwei Yang created YUNIKORN-428:
------------------------------------
Summary: Reduce the warning logs in resources.go
Key: YUNIKORN-428
URL: https://issues.apache.org/jira/browse/YUNIKORN-428
Project: Apache YuniKorn
Issue Type: Sub-task
Components: core - cache
Reporter: Weiwei Yang
Assignee: Adam Antal
>From a common install, I can see the following warnings:
{code}
yunikorn-scheduler-k8s 2020-09-29T23:46:59.689Z DEBUG
webservice/webservice.go:64 GET /ws/v1/queues Scheduler 138.752µs
│
│ yunikorn-scheduler-k8s 2020-09-29T23:46:59.913Z WARN
resources/resources.go:795 Cannot calculate absolute usage for resource
because of missing usage information {"resource name": "pods"}
│
│ yunikorn-scheduler-k8s 2020-09-29T23:46:59.913Z WARN
resources/resources.go:795 Cannot calculate absolute usage for resource
because of missing usage information {"resource name": "vcore"}
│
│ yunikorn-scheduler-k8s 2020-09-29T23:46:59.913Z WARN
resources/resources.go:795 Cannot calculate absolute usage for resource
because of missing usage information {"resource name": "ephemeral-storage"}
│
│ yunikorn-scheduler-k8s 2020-09-29T23:46:59.913Z WARN
resources/resources.go:795 Cannot calculate absolute usage for resource
because of missing usage information {"resource name": "hugepages-1Gi"}
│
│ yunikorn-scheduler-k8s 2020-09-29T23:46:59.913Z WARN
resources/resources.go:795 Cannot calculate absolute usage for resource
because of missing usage information {"resource name": "hugepages-2Mi"}
│
│ yunikorn-scheduler-k8s 2020-09-29T23:46:59.913Z WARN
resources/resources.go:795 Cannot calculate absolute usage for resource
because of missing usage information {"resource name": "memory"}
{code}
they should not be considered as warnings as this is a quite common setup.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]