hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12313) Possible NPE in JvmPauseMonitor.stop()
Date Thu, 13 Aug 2015 03:11:46 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694617#comment-14694617
] 

Steve Loughran commented on HADOOP-12313:
-----------------------------------------

why not make JvmPauseMonitor a subclass of ActiveService, so getting the lifecycle and non-reentrant
serviceStop calls? It'd also make it trivial to deploy under any instance of CompositeService,
so avoid needing any specific hooks in any service class planning to use it.

> Possible NPE in JvmPauseMonitor.stop()
> --------------------------------------
>
>                 Key: HADOOP-12313
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12313
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Rohith Sharma K S
>            Assignee: Gabor Liptak
>         Attachments: HADOOP-12313.2.patch, HADOOP-12313.3.patch, YARN-4035.1.patch
>
>
> It is observed that after YARN-4019 some tests are failing in TestRMAdminService with
null pointer exceptions in build [build failure |https://builds.apache.org/job/PreCommit-YARN-Build/8792/artifact/patchprocess/testrun_hadoop-yarn-server-resourcemanager.txt]
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message