hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Matthew (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-3660) task controller uses wrong path to taskjvm.sh on windows
Date Thu, 12 Jan 2012 01:33:39 GMT

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

Jonathan Matthew updated MAPREDUCE-3660:
----------------------------------------

    Attachment: mapreduce-3660.diff

lightly tested fix
                
> task controller uses wrong path to taskjvm.sh on windows
> --------------------------------------------------------
>
>                 Key: MAPREDUCE-3660
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3660
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task-controller
>    Affects Versions: 1.0.0
>         Environment: Windows+cygwin
>            Reporter: Jonathan Matthew
>         Attachments: mapreduce-3660.diff
>
>
> In 1.0.0, DefaultTaskController passes the string returned by TaskController.writeCommand
to the shell.  For this to work on Windows, the path needs to be passed through FileUtil.makeShellPath
to convert it into a cygwin path, which also requires backslashes instead of forward slashes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message