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

DefaultContainerExecutor cannot launch container under windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.23.3
    • None
    • nodemanager
    • None

    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

            Unassigned Unassigned
            snnn Changming Sun
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

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