You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Chen He (JIRA)" <ji...@apache.org> on 2014/08/11 20:12:16 UTC

[jira] [Comment Edited] (TEZ-1393) user.dir should not be reset in LocalMode

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

Chen He edited comment on TEZ-1393 at 8/11/14 6:11 PM:
-------------------------------------------------------

I suggest we clarify all types of dirs used in not only local mode but also general mode for TEZ:
staging dir:
local dirs:
working dirs:
user.dir:
......

I am confused why we allow user to set staging dir (like in OrderedWordCount). From the system point of view, staging dir is the directory that system prepairs the user's job after user submission. It should be the same for consistency.


was (Author: airbots):
I suggest we clarify all types of dirs used in not only local mode but also general mode for TEZ:
staging dir:
local dirs:
working dirs:
......

I am confused why we allow user to set staging dir (like in OrderedWordCount). From the system point of view, staging dir is the directory that system prepairs the user's job after user submission. It should be the same for consistency.

> user.dir should not be reset in LocalMode
> -----------------------------------------
>
>                 Key: TEZ-1393
>                 URL: https://issues.apache.org/jira/browse/TEZ-1393
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>            Priority: Critical
>         Attachments: TEZ-1393.1.txt
>
>
> Setting user.dir to the staging-dir has the implication of changing the root of the filesystem to the staging directory, which is application specific.
> If using multiple instance of LocalClient within a single JVM - this can get problematic, between multiple jobs since the CWD will change in the middle of execution - which ends up disallowing usage of relative paths.



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