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

DefaultTaskController fails to launch tasks on Windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1-win
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      DefaultTaskController#launchTask tries to run the child JVM task with the following command line:

      cmd.exe /c /c:/some/path.../taskjvm.cmd

      And this fails because the given path is prefixed with a forward slash. This also causes a number of tests to fail:

      org.apache.hadoop.conf.TestNoDefaultsJobConf
      org.apache.hadoop.fs.TestCopyFiles
      org.apache.hadoop.mapred.TestBadRecords
      org.apache.hadoop.mapred.TestClusterMRNotification
      org.apache.hadoop.mapred.TestCompressedEmptyMapOutputs
      org.apache.hadoop.mapred.TestControlledMapReduceJob
      org.apache.hadoop.mapred.TestCustomOutputCommitter
      org.apache.hadoop.mapred.TestEmptyJob
      org.apache.hadoop.mapred.TestFileOutputFormat
      org.apache.hadoop.mapred.TestIsolationRunner
      org.apache.hadoop.mapred.TestJavaSerialization
      org.apache.hadoop.mapred.TestJobCleanup
      org.apache.hadoop.mapred.TestJobCounters
      org.apache.hadoop.mapred.TestJobHistoryServer
      org.apache.hadoop.mapred.TestJobInProgressListener
      org.apache.hadoop.mapred.TestJobKillAndFail
      org.apache.hadoop.mapred.TestJobName
      ...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ivanmi Ivan Mitic
                Reporter:
                ivanmi Ivan Mitic
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: