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

TestFairScheduler#testUpdateDemand and TestFSLeafQueue#testUpdateDemand are failing with NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0, 3.0.0, 3.1.0
    • 2.9.0, 3.0.0, 3.1.0
    • test
    • 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

        1. YARN-7385.001.patch
          2 kB
          Yufei Gu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: