You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Siddharth Seth (JIRA)" <ji...@apache.org> on 2015/12/09 11:01:11 UTC

[jira] [Updated] (TEZ-2798) NPE when executing TestMemoryWithEvents::testMemoryScatterGather

     [ https://issues.apache.org/jira/browse/TEZ-2798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Seth updated TEZ-2798:
--------------------------------
    Attachment: TEZ-2798.1.ignoredTemporarilyActivated.txt

Simple patch to fix the failing tests. The appContext was being passed to the TaskCommContext before it was initialized in the DAGAppMaster. Uncommented the ignores temporarily for jenkins. 

bq. TEZ-2045 reversed the flow of sending taskspec to the communicator. This ends up with the side effect that that container lifecycle becomes disconnected from task lifecycle. Even if the container is in launching state, the rest of the task state machine can proceed because there are no further interactions with the AMcontainer object after that (in the no-error case).
Didn't quite understand this, or the significance w.r.t this jira. The state machines could always run independently - with the interaction point being when a remote container asked for a task. With the TezTaskComm - that remains unchanged.

> 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
>            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)