[ https://issues.apache.org/jira/browse/TEZ-2798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15049467#comment-15049467 ]
Bikas Saha commented on TEZ-2798: --------------------------------- The tests need to rerun since it looks like the Jenkins run stopped after the first test failure. Once the MockDAGAppMaster tests have rerun (or in your local run), could you please double check that the output logs from the tests dont have NPEs related to accessing external services. The patch looks good to me. bq. Didn't quite understand this, or the significance w.r.t this jira. The state machines could always run independently This was trying to explain why the other mock dag appmaster tests were passing even though internally, the code was NPEing in the container launcher flow. Since the container launcher was not in the execution state machine flow, the tests continued to pass despite the NPEs. > NPE when executing TestMemoryWithEvents::testMemoryScatterGather > ---------------------------------------------------------------- > > Key: TEZ-2798 > URL: https://issues.apache.org/jira/browse/TEZ-2798 > Project: Apache Tez > Issue Type: Bug > Reporter: Rajesh Balamohan > Assignee: Siddharth Seth > Priority: Blocker > Attachments: TEZ-2798.1.ignoredTemporarilyActivated.txt > > > {noformat} > 2015-09-10 05:07:45,885 ERROR [Dispatcher thread: Central] > common.AsyncDispatcher (AsyncDispatcher.java:dispatch(188)) - Error in > dispatcher thread > java.lang.NullPointerException > at > org.apache.tez.dag.app.ContainerLauncherContextImpl.containerLaunched(ContainerLauncherContextImpl.java:47) > at > org.apache.tez.dag.app.MockDAGAppMaster$MockContainerLauncher.launch(MockDAGAppMaster.java:280) > at > org.apache.tez.dag.app.MockDAGAppMaster$MockContainerLauncher.launchContainer(MockDAGAppMaster.java:219) > at > org.apache.tez.dag.app.launcher.ContainerLauncherManager.handle(ContainerLauncherManager.java:200) > at > org.apache.tez.dag.app.launcher.ContainerLauncherManager.handle(ContainerLauncherManager.java:46) > at > org.apache.tez.common.AsyncDispatcher.dispatch(AsyncDispatcher.java:183) > at org.apache.tez.common.AsyncDispatcher$1.run(AsyncDispatcher.java:114) > at java.lang.Thread.run(Thread.java:745) > {noformat} > Wasn't caught in jenkins as these tests are very long running tests and are > marked as @Ignore (mainly for internal testing). > Same exception with testMemoryBroadcast, testMemoryOneToOne, > testMemoryRootInputEvents -- This message was sent by Atlassian JIRA (v6.3.4#6332)