Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7385

TestFairScheduler#testUpdateDemand and TestFSLeafQueue#testUpdateDemand are failing with NPE

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.0, 3.0.0, 3.1.0
    • Fix Version/s: 2.9.0, 3.0.0, 3.1.0
    • Component/s: test
    • Labels:
      None

      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

          Issue Links

            Activity

              People

              • Assignee:
                yufeigu Yufei Gu
                Reporter:
                rkanter Robert Kanter
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: