-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 0.23.3
-
Fix Version/s: None
-
Component/s: nodemanager
-
Labels:None
-
Target Version/s:
DefaultContainerExecutor cannot launch container under windows, because bash cannot find the WRAPPER_LAUNCH_SCRIPT.
Path wrapperScriptDst = new Path(containerWorkDir, WRAPPER_LAUNCH_SCRIPT);
String[] command =
;
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