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 11:15:35 UTC

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

     [ https://issues.apache.org/jira/browse/TEZ-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mohammad Kamrul Islam updated TEZ-1241:
---------------------------------------

    Attachment: TEZ-1241.1.patch

This patch basically removes the unnecessary method getSatgingDir() from AmConfiguration class.


However, I could not run the full unit test because of existing trunk test case failure w/o this patch.

Expecting early comments.

> 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)