Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12313

NPE in JvmPauseMonitor when calling stop() before start()

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

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed
    • Allow stop() before start() completed in JvmPauseMonitor

    Description

      It is observed that after YARN-4019 some tests are failing in TestRMAdminService with null pointer exceptions in build build failure

      unning org.apache.hadoop.yarn.server.resourcemanager.TestRMAdminService
      Tests run: 19, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 11.541 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestRMAdminService
      testModifyLabelsOnNodesWithDistributedConfigurationDisabled(org.apache.hadoop.yarn.server.resourcemanager.TestRMAdminService)  Time elapsed: 0.132 sec  <<< ERROR!
      java.lang.NullPointerException: null
      	at org.apache.hadoop.util.JvmPauseMonitor.stop(JvmPauseMonitor.java:86)
      	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceStop(ResourceManager.java:601)
      	at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
      	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.stopActiveServices(ResourceManager.java:983)
      	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.transitionToStandby(ResourceManager.java:1038)
      	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceStop(ResourceManager.java:1085)
      	at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
      	at org.apache.hadoop.service.AbstractService.close(AbstractService.java:250)
      	at org.apache.hadoop.yarn.server.resourcemanager.TestRMAdminService.testModifyLabelsOnNodesWithDistributedConfigurationDisabled(TestRMAdminService.java:824)
      
      testRemoveClusterNodeLabelsWithDistributedConfigurationEnabled(org.apache.hadoop.yarn.server.resourcemanager.TestRMAdminService)  Time elapsed: 0.121 sec  <<< ERROR!
      java.lang.NullPointerException: null
      	at org.apache.hadoop.util.JvmPauseMonitor.stop(JvmPauseMonitor.java:86)
      	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceStop(ResourceManager.java:601)
      	at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
      	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.stopActiveServices(ResourceManager.java:983)
      	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.transitionToStandby(ResourceManager.java:1038)
      	at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceStop(ResourceManager.java:1085)
      	at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
      	at org.apache.hadoop.service.AbstractService.close(AbstractService.java:250)
      	at org.apache.hadoop.yarn.server.resourcemanager.TestRMAdminService.testRemoveClusterNodeLabelsWithDistributedConfigurationEnabled(TestRMAdminService.java:867)
      
      

      Attachments

        1. YARN-4035.1.patch
          1 kB
          Gabor Liptak
        2. HADOOP-12313.3.patch
          1 kB
          Gabor Liptak
        3. HADOOP-12313.2.patch
          2 kB
          Gabor Liptak

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            gliptak Gabor Liptak
            rohithsharma Rohith Sharma K S
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment