[ 
https://issues.apache.org/jira/browse/TEZ-2437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14540421#comment-14540421
 ] 

Prakash Ramachandran commented on TEZ-2437:
-------------------------------------------

forgot to add. the reason why the framework client is reused and not created on 
a per dagclient instance could be that the dagclient::close is never called. so 
even if the resources for the LocalClient can be ref counted it is possible 
that it would leak. 

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

Reply via email to