[
https://issues.apache.org/jira/browse/TEZ-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siddharth Seth updated TEZ-1393:
--------------------------------
Attachment: TEZ-1393.2.txt
Updated patch.
bq. use the NM's defined env value for PWD instead of "."
Done
bq. Should working directory be a string or a fully resolved local fs path?
I think a string should just work, and it'll continue to use whatever
filesystem it used to use earlier.
bq. Are 2 ctors needed in DAGAppMaster and TezChild? Why not fallback to "PWD"
from env if working dir passed in is empty or null
Removed one of the constructors in DAGAppMaster. TezChild only has one.
bq. MRRSleep - why is the change needed to set the staging dir?
Not sure why this was there. Removed.
> 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: Blocker
> Attachments: TEZ-1393.1.txt, TEZ-1393.2.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)