[
https://issues.apache.org/jira/browse/TEZ-1210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14111419#comment-14111419
]
Hitesh Shah commented on TEZ-1210:
----------------------------------
There are a few things to consider:
- how does one control whether this text file generated?
- where is the text file generated to? On the client, this is tricky as
there is no notion of a default location that works across both linux and
windows. Furthermore, if accidentally configured to true, this will leave
behind a bunch of non-useful files. On the AM, it is simpler, as we can
generated this file into the container log dir.
- if the question is about whether to upload this to HDFS, I guess another
approach would be to just write the binary serialized plan to HDFS but read the
plan in the AM and generate a text version into the log dir if the appropriate
config/flag has been set.
> 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
> Attachments: TEZ-1210.1.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.2#6252)