[ https://issues.apache.org/jira/browse/TEZ-2437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14539347#comment-14539347 ]
Jeff Zhang edited comment on TEZ-2437 at 5/12/15 6:31 AM: ---------------------------------------------------------- [~tiwari] [~pramachandran] I think the fix is correct. getDAGStatus is invalid after TezClient is stopped in local mode, but is valid in non-local mode where can refer to RM even ATS. [~tiwari] Would you mind fixing other examples that have the same issue ? We are close to release of 0.7.0, so if you don't have time to fix it. I will attach new patch or move it to 0.7.1 tomorrow if you feel OK. was (Author: zjffdu): [~tiwari] [~pramachandran] I think the fix is correct. getDAGStatus is invalid after TezClient is stopped in local mode, but is valid in non-session mode where can refer to RM even ATS. [~tiwari] Would you mind fixing other examples that have the same issue ? > FilterLinesByWord NPEs when run in Localmode > -------------------------------------------- > > Key: TEZ-2437 > URL: https://issues.apache.org/jira/browse/TEZ-2437 > Project: Apache Tez > Issue Type: Bug > Affects Versions: 0.6.0 > Environment: Tez Localmode only > Reporter: Amit Tiwari > Attachments: TEZ-2437.patch > > > Subsequent to Tez-1969 [https://issues.apache.org/jira/browse/TEZ-1969] I've > noticed that org.apache.tez.mapreduce.examples.FilterLinesByWord.java NPEs > with this stack trace, when run on Localmode: > at > org.apache.tez.client.LocalClient.getApplicationReport(LocalClient.java:145) > at > org.apache.tez.dag.api.client.rpc.DAGClientRPCImpl.getAppReport(DAGClientRPCImpl.java:213) > at > org.apache.tez.dag.api.client.rpc.DAGClientRPCImpl.createAMProxyIfNeeded(DAGClientRPCImpl.java:230) > at > org.apache.tez.dag.api.client.rpc.DAGClientRPCImpl.getVertexStatus(DAGClientRPCImpl.java:102) > at > org.apache.tez.dag.api.client.DAGClientImpl.getVertexStatusViaAM(DAGClientImpl.java:257) > at > org.apache.tez.dag.api.client.DAGClientImpl.getVertexStatus(DAGClientImpl.java:166) > at > org.apache.tez.mapreduce.examples.ExampleDriver.printDAGStatus(ExampleDriver.java:122) -- This message was sent by Atlassian JIRA (v6.3.4#6332)