hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Changming Sun (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-3967) DefaultContainerExecutor cannot launch container under windows
Date Sun, 04 Mar 2012 09:38:54 GMT
DefaultContainerExecutor cannot launch container under windows

                 Key: MAPREDUCE-3967
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3967
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: nodemanager
    Affects Versions: 0.23.3
         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 16:44:56+0800)
Java version: 1.7.0_02, vendor: Oracle Corporation
Java home: C:\Program Files (x86)\Java\jdk1.7.0_02\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
            Reporter: Changming Sun

DefaultContainerExecutor cannot launch container under windows, because bash cannot find the

Path wrapperScriptDst = new Path(containerWorkDir, WRAPPER_LAUNCH_SCRIPT);
 String[] command = {"bash", "-c",
      LOG.info("launchContainer: " + Arrays.toString(command));
Suppose that  the value of 'wrapperScriptDst' is "C:\hadoop\default_container_executor.sh"
Then wrapperScriptDst.toUri().getPath().toString() will be "/C:/hadoop/default_container_executor.sh",
which is a wrong path

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


View raw message