Navis created TEZ-1403:
--------------------------

             Summary: oah.mapred.Partitioner is not configured by JobConf
                 Key: TEZ-1403
                 URL: https://issues.apache.org/jira/browse/TEZ-1403
             Project: Apache Tez
          Issue Type: Bug
    Affects Versions: 0.4.0
            Reporter: Navis
         Attachments: TEZ-1403.1.patch.txt

TotalOrderPartitioner is not initialized by JobConf, throwing NPE in runtime.
{noformat}
Caused by: java.lang.NullPointerException
        at 
org.apache.hadoop.mapreduce.lib.partition.TotalOrderPartitioner.getPartition(TotalOrderPartitioner.java:127)
        at 
org.apache.hadoop.mapreduce.lib.partition.TotalOrderPartitioner.getPartition(TotalOrderPartitioner.java:48)
        at 
org.apache.hadoop.hive.ql.exec.HiveTotalOrderPartitioner.getPartition(HiveTotalOrderPartitioner.java:41)
        at 
org.apache.hadoop.hive.ql.exec.HiveTotalOrderPartitioner.getPartition(HiveTotalOrderPartitioner.java:29)
        at 
org.apache.tez.mapreduce.partition.MRPartitioner.getPartition(MRPartitioner.java:85)
        at 
org.apache.tez.runtime.library.common.sort.impl.dflt.DefaultSorter.write(DefaultSorter.java:185)
        at 
org.apache.tez.runtime.library.output.OnFileSortedOutput$1.write(OnFileSortedOutput.java:116)
        at 
org.apache.tez.mapreduce.processor.map.MapProcessor$OldOutputCollector.collect(MapProcessor.java:359)
        at 
org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.collect(ReduceSinkOperator.java:444)
        at 
org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.processOp(ReduceSinkOperator.java:319)
        ... 16 more
{noformat}



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

Reply via email to