You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Xuan Gong (JIRA)" <ji...@apache.org> on 2012/12/13 20:38:13 UTC

[jira] [Updated] (MAPREDUCE-4872) MapReduce JVM launch does not use correct working directory on Windows

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

Xuan Gong updated MAPREDUCE-4872:
---------------------------------

    Attachment: MAPREUCE-4872-branch-trunk-win.1.patch
    
> MapReduce JVM launch does not use correct working directory on Windows
> ----------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4872
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4872
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>             Fix For: trunk-win
>
>         Attachments: MAPREUCE-4872-branch-trunk-win.1.patch
>
>
> {{MapReduceChildJVM#getVMCommand}} sets java.io.tmpdir by using environment variable PWD as the root of the path.  On Windows, %PWD% likely will not be defined.  Instead, we need to use %CD%.  Any part of the codebase that uses {{Environment#PWD}} is likely to be impacted by this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira