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

AMs and NMs can get exceptions after recovery but before scheduler knowns apps and app-attempts

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0
    • Component/s: resourcemanager
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart
      testAppReregisterOnRMWorkPreservingRestart[0](org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart)  Time elapsed: 4.335 sec  <<< ERROR!
      java.lang.NullPointerException: null
      	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler.getTransferredContainers(AbstractYarnScheduler.java:91)
      	at org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterService.registerApplicationMaster(ApplicationMasterService.java:297)
      	at org.apache.hadoop.yarn.server.resourcemanager.MockAM$1.run(MockAM.java:113)
      	at org.apache.hadoop.yarn.server.resourcemanager.MockAM$1.run(MockAM.java:110)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:396)
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1626)
      	at org.apache.hadoop.yarn.server.resourcemanager.MockAM.registerAppAttempt(MockAM.java:109)
      	at org.apache.hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart.testAppReregisterOnRMWorkPreservingRestart(TestWorkPreservingRMRestart.java:562)
      

        Attachments

        1. YARN-2219-fix-compilation-failure.txt
          1 kB
          Tsuyoshi Ozawa
        2. YARN-2219.2.patch
          28 kB
          Jian He
        3. YARN-2219.1.patch
          20 kB
          Jian He

          Activity

            People

            • Assignee:
              jianhe Jian He
              Reporter:
              ashwinshankar77 Ashwin Shankar
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: