Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3967

DefaultContainerExecutor cannot launch container under windows

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.23.3
    • Fix Version/s: None
    • Component/s: nodemanager
    • Labels:
      None
    • Environment:

      Description

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

      Path wrapperScriptDst = new Path(containerWorkDir, WRAPPER_LAUNCH_SCRIPT);
      String[] command =

      {"bash", "-c", wrapperScriptDst.toUri().getPath().toString()}

      ;
      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              snnn Changming Sun

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 72h
                72h
                Remaining:
                Remaining Estimate - 72h
                72h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Issue deployment