[
https://issues.apache.org/jira/browse/TEZ-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14052771#comment-14052771
]
Bikas Saha commented on TEZ-1241:
---------------------------------
+1
Is that the only place in the code trying to get staging dir? Can you please
double check by looking for access to TezConfiguration.TEZ_AM_STAGING_DIR.
> 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)