Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-645

Map-reduce task does not finish correctly when -reducer NONE is specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7.2
    • 0.9.0
    • None
    • None

    Description

      Map-reduce task does not finish correctly when -reducer NONE is specified, The NONE option means that the reducer should not be generating any output. Using this option causes an exception in the task tracker:

      java.lang.IllegalArgumentException: URI is not hierarchical
      TaskRunner: at java.io.File.<init>(File.java:335)
      TaskRunner: at org.apache.hadoop.streaming.PipeMapRed.mapRedFinished(PipeMapRed.java:583)
      TaskRunner: at org.apache.hadoop.streaming.PipeMapper.close(PipeMapper.java:96)
      TaskRunner: at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:49)
      TaskRunner: at org.apache.hadoop.mapred.MapTask.run(MapTask.java:213)
      TaskRunner: at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:1240)
      TaskRunner: sideEffectURI_ file:output length 11

      Attachments

        1. reducernone.patch
          1 kB
          Dhruba Borthakur

        Issue Links

          Activity

            People

              dhruba Dhruba Borthakur
              dhruba Dhruba Borthakur
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: