[ https://issues.apache.org/jira/browse/YARN-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13550624#comment-13550624 ]
Hadoop QA commented on YARN-330: -------------------------------- {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12564289/YARN-330.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. The javadoc tool did not generate any warning messages. {color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager. {color:green}+1 contrib tests{color}. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-YARN-Build/334//testReport/ Console output: https://builds.apache.org/job/PreCommit-YARN-Build/334//console This message is automatically generated. > Flakey test: TestNodeManagerShutdown#testKillContainersOnShutdown > ----------------------------------------------------------------- > > Key: YARN-330 > URL: https://issues.apache.org/jira/browse/YARN-330 > Project: Hadoop YARN > Issue Type: Bug > Components: nodemanager > Affects Versions: 3.0.0 > Reporter: Hitesh Shah > Assignee: Sandy Ryza > Attachments: > org.apache.hadoop.yarn.server.nodemanager.TestNodeManagerShutdown-output.txt, > YARN-330.patch > > > =Seems to be timing related as the container status RUNNING as returned by > the ContainerManager does not really indicate that the container task has > been launched. Sleep of 5 seconds is not reliable. > Running org.apache.hadoop.yarn.server.nodemanager.TestNodeManagerShutdown > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 9.353 sec <<< > FAILURE! > testKillContainersOnShutdown(org.apache.hadoop.yarn.server.nodemanager.TestNodeManagerShutdown) > Time elapsed: 9283 sec <<< FAILURE! > junit.framework.AssertionFailedError: Did not find sigterm message > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.assertTrue(Assert.java:20) > at > org.apache.hadoop.yarn.server.nodemanager.TestNodeManagerShutdown.testKillContainersOnShutdown(TestNodeManagerShutdown.java:162) > Logs: > 2013-01-09 14:13:08,401 INFO [AsyncDispatcher event handler] > container.Container (ContainerImpl.java:handle(835)) - Container > container_0_0000_01_000000 transitioned from NEW to LOCALIZING > 2013-01-09 14:13:08,412 INFO [AsyncDispatcher event handler] > localizer.LocalizedResource (LocalizedResource.java:handle(194)) - Resource > file:hadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/org.apache.hadoop.yarn.server.nodemanager.TestNodeManagerShutdown/tmpDir/scriptFile.sh > transitioned from INIT to DOWNLOADING > 2013-01-09 14:13:08,412 INFO [AsyncDispatcher event handler] > localizer.ResourceLocalizationService > (ResourceLocalizationService.java:handle(521)) - Created localizer for > container_0_0000_01_000000 > 2013-01-09 14:13:08,589 INFO [LocalizerRunner for > container_0_0000_01_000000] localizer.ResourceLocalizationService > (ResourceLocalizationService.java:writeCredentials(895)) - Writing > credentials to the nmPrivate file > hadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/org.apache.hadoop.yarn.server.nodemanager.TestNodeManagerShutdown/nm0/nmPrivate/container_0_0000_01_000000.tokens. > Credentials list: > 2013-01-09 14:13:08,628 INFO [LocalizerRunner for > container_0_0000_01_000000] nodemanager.DefaultContainerExecutor > (DefaultContainerExecutor.java:createUserCacheDirs(373)) - Initializing user > nobody > 2013-01-09 14:13:08,709 INFO [main] containermanager.ContainerManagerImpl > (ContainerManagerImpl.java:getContainerStatus(538)) - Returning container_id > {, app_attempt_id {, application_id {, id: 0, cluster_timestamp: 0, }, > attemptId: 1, }, }, state: C_RUNNING, diagnostics: "", exit_status: -1000, > 2013-01-09 14:13:08,781 INFO [LocalizerRunner for > container_0_0000_01_000000] nodemanager.DefaultContainerExecutor > (DefaultContainerExecutor.java:startLocalizer(99)) - Copying from > hadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/org.apache.hadoop.yarn.server.nodemanager.TestNodeManagerShutdown/nm0/nmPrivate/container_0_0000_01_000000.tokens > to > hadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/org.apache.hadoop.yarn.server.nodemanager.TestNodeManagerShutdown/nm0/usercache/nobody/appcache/application_0_0000/container_0_0000_01_000000.tokens -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira