You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Bing Jiang (JIRA)" <ji...@apache.org> on 2014/03/07 07:49:47 UTC

[jira] [Created] (MAPREDUCE-5782) Sort Use TableOrderPartitioner cannot find the path of _partition.lst int the container cwd.

Bing Jiang created MAPREDUCE-5782:
-------------------------------------

             Summary: Sort Use TableOrderPartitioner cannot find the path of _partition.lst int the container cwd.
                 Key: MAPREDUCE-5782
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5782
             Project: Hadoop Map/Reduce
          Issue Type: Bug
    Affects Versions: 0.23.10
            Reporter: Bing Jiang
            Priority: Minor


hadoop jar hadoop-mapreduce-examples.jar sort sort  \
-inFormat org.apache.hadoop.mapreduce.lib.input.KeyValueTextInputFormat \
         -outFormat org.apache.hadoop.mapreduce.lib.output.TextOutputFormat \
         -outKey org.apache.hadoop.io.Text \
         -outValue org.apache.hadoop.io.Text \
         -totalOrder 0.1 10000 10 \
         input output
It prints cannot find the file  _partition.lst in the container's cwd.
Error: java.lang.IllegalArgumentException: Can't read partitions file
    at
org.apache.hadoop.mapreduce.lib.partition.TotalOrderPartitioner.setConf(TotalOrderPartitioner.java:116)
    at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:70)
    at
org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:130)
    at
org.apache.hadoop.mapred.MapTask$NewOutputCollector.<init>(MapTask.java:642)
    at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:710)
    at
 org.apache.hadoop.mapred.MapTask.run(MapTask.java:333)
    at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:158)







--
This message was sent by Atlassian JIRA
(v6.2#6252)