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

TestFairScheduler#testUpdateDemand and TestFSLeafQueue#testUpdateDemand are failing with NPE

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

        1. YARN-7385.001.patch
          2 kB
          Yufei Gu

        Issue Links

          Activity

            People

            • Assignee:
              yufeigu Yufei Gu
              Reporter:
              rkanter Robert Kanter

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment