You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Mohammad Kamrul Islam (JIRA)" <ji...@apache.org> on 2014/07/04 03:23:34 UTC

[jira] [Commented] (TEZ-1241) Consistent getter for staging dir

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

Mohammad Kamrul Islam commented on TEZ-1241:
--------------------------------------------

[~bikassaha] AmConf is also internally getting the directory using TezCommonUtils.

 I can see your point of confusion. I think we don't need to keep this one level of indirection,
Let's directly use TezCommonUtils instead.

I'm working on a patch.

> Consistent getter for staging dir
> ---------------------------------
>
>                 Key: TEZ-1241
>                 URL: https://issues.apache.org/jira/browse/TEZ-1241
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Bikas Saha
>            Assignee: Mohammad Kamrul Islam
>
> ApplicationSubmissionContext createApplicationSubmissionContext() uses the AMConfiguration object as the source of AM properties. Internally AMConfiguration derives stagingDir from config and makes it available for others via an API. TezCommonUtils.createTezSystemStagingPath() ignores that and uses the conf value directly.
> We need to make it consistent. Either staging dir from conf for all or via AMConfiguration.



--
This message was sent by Atlassian JIRA
(v6.2#6252)