Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Reviewed
Description
There are 2 issues with CPU usage collection
- I was able to observe that that many times CPU usage got from pTree.getCpuUsagePercent() is ResourceCalculatorProcessTree.UNAVAILABLE(i.e. -1) but ContainersMonitor do the calculation i.e. cpuUsageTotalCoresPercentage = cpuUsagePercentPerCore /resourceCalculatorPlugin.getNumProcessors() because of which UNAVAILABLE check in NMTimelinePublisher.reportContainerResourceUsage is not encountered. so proper checks needs to be handled
- EntityColumnPrefix.METRIC uses always LongConverter but ContainerMonitor is publishing decimal values for the CPU usage.
Attachments
Attachments
Issue Links
- relates to
-
YARN-4821 Have a separate NM timeline publishing-interval
- Open