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

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

I did a grep on the whole project. Found it was "set" by unit testcases and 
example classes.
And It is not "get" in any other place of the core classes.


> 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
>         Attachments: TEZ-1241.1.patch
>
>
> 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)

Reply via email to