Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
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
Attachments
Issue Links
- is related to
-
YARN-4019 Add JvmPauseMonitor to ResourceManager and NodeManager
- Resolved
- relates to
-
HADOOP-12321 Make JvmPauseMonitor an AbstractService
- Resolved
-
HADOOP-12320 discuss restart capability for services (JvmPauseMonitor, NodeManager, ResourceManager)
- Open