[jira] [Commented] (YARN-4035) Some tests in TestRMAdminService fails with NPE

2015-08-10 Thread Rohith Sharma K S (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-4035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14681252#comment-14681252
 ] 

Rohith Sharma K S commented on YARN-4035:
-

bq. given the patch all happens in hadoop-common-project, I think we should 
move the JIRA from YARN to HADOOP.
make sense, this fix is in Hadoop common, moving to HADOOP common project.

 Some tests in TestRMAdminService fails with NPE 
 

 Key: YARN-4035
 URL: https://issues.apache.org/jira/browse/YARN-4035
 Project: Hadoop YARN
  Issue Type: Bug
Affects Versions: 2.8.0
Reporter: Rohith Sharma K S
Assignee: Gabor Liptak
 Attachments: 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)


[jira] [Commented] (YARN-4035) Some tests in TestRMAdminService fails with NPE

2015-08-10 Thread Junping Du (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-4035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14680331#comment-14680331
 ] 

Junping Du commented on YARN-4035:
--

Thanks [~gliptak] for working out a patch and [~rohithsharma] for the comments!
Instead of adding if (shouldRun) to start monitorThread in start(), I think 
the right thing to do is set shouldRun = true in start(), so JvmPauseMonitor 
could be restarted after stop (or it cannot be restart again).
In addition, given the patch all happens in hadoop-common-project, I think we 
should move the JIRA from YARN to HADOOP.

 Some tests in TestRMAdminService fails with NPE 
 

 Key: YARN-4035
 URL: https://issues.apache.org/jira/browse/YARN-4035
 Project: Hadoop YARN
  Issue Type: Bug
Affects Versions: 2.8.0
Reporter: Rohith Sharma K S
Assignee: Gabor Liptak
 Attachments: 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)


[jira] [Commented] (YARN-4035) Some tests in TestRMAdminService fails with NPE

2015-08-10 Thread Gabor Liptak (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-4035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14680939#comment-14680939
 ] 

Gabor Liptak commented on YARN-4035:


[~rohithsharma] That is my attempt to make this state-friendly ... If stop() 
happens before start completed, you would leave a thread behind.

[~djp] The proper way would be to synchronize both start()/stop() (in 
particular if restart is an expectation). Would you like an updated patch 
implementing?


 Some tests in TestRMAdminService fails with NPE 
 

 Key: YARN-4035
 URL: https://issues.apache.org/jira/browse/YARN-4035
 Project: Hadoop YARN
  Issue Type: Bug
Affects Versions: 2.8.0
Reporter: Rohith Sharma K S
Assignee: Gabor Liptak
 Attachments: 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)


[jira] [Commented] (YARN-4035) Some tests in TestRMAdminService fails with NPE

2015-08-10 Thread Rohith Sharma K S (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-4035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14679627#comment-14679627
 ] 

Rohith Sharma K S commented on YARN-4035:
-

thanks of the patch!!
One comment, the below code modification is not required right
{code}
+if (shouldRun) {
+  monitorThread.start();
+}
{code}

 Some tests in TestRMAdminService fails with NPE 
 

 Key: YARN-4035
 URL: https://issues.apache.org/jira/browse/YARN-4035
 Project: Hadoop YARN
  Issue Type: Bug
Affects Versions: 2.8.0
Reporter: Rohith Sharma K S
Assignee: Gabor Liptak
 Attachments: 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)


[jira] [Commented] (YARN-4035) Some tests in TestRMAdminService fails with NPE

2015-08-08 Thread Bibin A Chundatt (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-4035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14663094#comment-14663094
 ] 

Bibin A Chundatt commented on YARN-4035:


In {{JvmPauseMonitor}} {{monitorThread}} gets initialized only in 
RMActiveServices#serviceStart but in testcases we are not starting the same. 

One fix could be JvmPauseMonitor#stop

{code}
  public void stop() {
shouldRun = false;
if (null != monitorThread) {
  monitorThread.interrupt();
  try {
monitorThread.join();
  } catch (InterruptedException e) {
Thread.currentThread().interrupt();
  }
}
  }
{code}

Thoughts?

 Some tests in TestRMAdminService fails with NPE 
 

 Key: YARN-4035
 URL: https://issues.apache.org/jira/browse/YARN-4035
 Project: Hadoop YARN
  Issue Type: Bug
Affects Versions: 2.8.0
Reporter: Rohith Sharma K S
Assignee: Gabor Liptak
 Attachments: 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)


[jira] [Commented] (YARN-4035) Some tests in TestRMAdminService fails with NPE

2015-08-08 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-4035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14663118#comment-14663118
 ] 

Hadoop QA commented on YARN-4035:
-

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch |  16m 42s | Pre-patch trunk compilation is 
healthy. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any 
@author tags. |
| {color:red}-1{color} | tests included |   0m  0s | The patch doesn't appear 
to include any new or modified tests.  Please justify why no new tests are 
needed for this patch. Also please list what manual steps were performed to 
verify this patch. |
| {color:green}+1{color} | javac |   7m 42s | There were no new javac warning 
messages. |
| {color:green}+1{color} | javadoc |   9m 37s | There were no new javadoc 
warning messages. |
| {color:green}+1{color} | release audit |   0m 23s | The applied patch does 
not increase the total number of release audit warnings. |
| {color:green}+1{color} | checkstyle |   1m  5s | There were no new checkstyle 
issues. |
| {color:green}+1{color} | whitespace |   0m  0s | The patch has no lines that 
end in whitespace. |
| {color:green}+1{color} | install |   1m 21s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse |   0m 34s | The patch built with 
eclipse:eclipse. |
| {color:green}+1{color} | findbugs |   1m 53s | The patch does not introduce 
any new Findbugs (version 3.0.0) warnings. |
| {color:red}-1{color} | common tests |  22m 18s | Tests failed in 
hadoop-common. |
| | |  61m 38s | |
\\
\\
|| Reason || Tests ||
| Failed unit tests | hadoop.ha.TestZKFailoverController |
|   | hadoop.net.TestNetUtils |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12749428/YARN-4035.1.patch |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / 8f73bdd |
| hadoop-common test log | 
https://builds.apache.org/job/PreCommit-YARN-Build/8800/artifact/patchprocess/testrun_hadoop-common.txt
 |
| Test Results | 
https://builds.apache.org/job/PreCommit-YARN-Build/8800/testReport/ |
| Java | 1.7.0_55 |
| uname | Linux asf906.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP 
PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | 
https://builds.apache.org/job/PreCommit-YARN-Build/8800/console |


This message was automatically generated.

 Some tests in TestRMAdminService fails with NPE 
 

 Key: YARN-4035
 URL: https://issues.apache.org/jira/browse/YARN-4035
 Project: Hadoop YARN
  Issue Type: Bug
Affects Versions: 2.8.0
Reporter: Rohith Sharma K S
Assignee: Gabor Liptak
 Attachments: 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