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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • resourcemanager
    • None
    • 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.1.patch
          20 kB
          Jian He
        2. YARN-2219.2.patch
          28 kB
          Jian He
        3. YARN-2219-fix-compilation-failure.txt
          1 kB
          Tsuyoshi Ozawa

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: