[
https://issues.apache.org/jira/browse/TEZ-1210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15180180#comment-15180180
]
Bikas Saha commented on TEZ-1210:
---------------------------------
The DAGPlan is downloaded as a local resource to be used to run the DAG. In
session mode the AM is already running and can accept the DAGPlan over RPC. In
non-session mode is going to be launched (and there is no connection between it
and the client) and thus the DAGPlan needs to be provides indirectly as a YARN
LocalResource via HDFS.
> TezClientUtils.localizeDagPlanAsText() needs to be fixed for session mode
> -------------------------------------------------------------------------
>
> Key: TEZ-1210
> URL: https://issues.apache.org/jira/browse/TEZ-1210
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Bikas Saha
> Assignee: Alexander Pivovarov
> Labels: newbie
> Fix For: 0.5.2
>
> Attachments: TEZ-1210.1.patch, TEZ-1210.2.patch
>
>
> It writes the dagPlan in text form to the same location. Either it should not
> be invoked in session mode or it should written with a differentiating prefix.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)