Details
Description
TestFairScheduler#testUpdateDemand and TestFSLeafQueue#testUpdateDemand are failing with NPE:
java.lang.NullPointerException: null at org.apache.hadoop.yarn.util.resource.Resources.addTo(Resources.java:180) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSQueue.incUsedResource(FSQueue.java:494) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSLeafQueue.addApp(FSLeafQueue.java:92) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairScheduler.testUpdateDemand(TestFairScheduler.java:5264) Standard Output 84 ms
java.lang.NullPointerException: null at org.apache.hadoop.yarn.util.resource.Resources.addTo(Resources.java:180) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSQueue.incUsedResource(FSQueue.java:494) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSLeafQueue.addApp(FSLeafQueue.java:92) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.TestFSLeafQueue.testUpdateDemand(TestFSLeafQueue.java:92)
Attachments
Attachments
Issue Links
- is broken by
-
YARN-4090 Make Collections.sort() more efficient by caching resource usage
- Resolved