You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2021/08/24 15:46:00 UTC

[jira] [Commented] (ORC-964) OrcKey / OrcValue NullPointerException during MapReduce shuffle

    [ https://issues.apache.org/jira/browse/ORC-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17403899#comment-17403899 ] 

Dongjoon Hyun commented on ORC-964:
-----------------------------------

Thank you for the investigation, [~Guiyankuang].

For the minimum Hadoop version, I guess we can increase it at Apache ORC 1.7.0. Could you send the email to dev@orc.apache.org to initiate the discussion officially?

cc [~omalley], [~pgaref], [~wgtmac], [~william]

> OrcKey / OrcValue NullPointerException during MapReduce shuffle
> ---------------------------------------------------------------
>
>                 Key: ORC-964
>                 URL: https://issues.apache.org/jira/browse/ORC-964
>             Project: ORC
>          Issue Type: Bug
>          Components: Java, MapReduce
>    Affects Versions: 1.7.0
>            Reporter: Yiqun Zhang
>            Priority: Major
>
> I am writing unit tests for [ORC-715 |https://issues.apache.org/jira/projects/ORC/issues/ORC-715?filter=allopenissues]
>  There is a NullPointerException that cannot be passed
> {code:java}
> java.lang.Exception: java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:403)
> Caused by: java.lang.NullPointerException
> 	at org.apache.orc.mapred.OrcKey.readFields(OrcKey.java:57)
> 	at org.apache.hadoop.io.WritableComparator.compare(WritableComparator.java:129)
> 	at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.compare(MapTask.java:1248)
> 	at org.apache.hadoop.util.QuickSort.fix(QuickSort.java:35)
> 	at org.apache.hadoop.util.QuickSort.sortInternal(QuickSort.java:87)
> 	at org.apache.hadoop.util.QuickSort.sort(QuickSort.java:63)
> 	at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.sortAndSpill(MapTask.java:1582)
> 	at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.flush(MapTask.java:1467)
> 	at org.apache.hadoop.mapred.MapTask$NewOutputCollector.close(MapTask.java:699)
> 	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:769)
> 	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:339)
> 	at org.apache.hadoop.mapred.LocalJobRunner$Job$MapTaskRunnable.run(LocalJobRunner.java:235)
> {code}
> The variable key inside OrcKey is not init. Analysis revealed a bug in hadoop-common that was fixed in version 2.5.0. 
>  https://issues.apache.org/jira/browse/HADOOP-10686
>  [https://github.com/apache/hadoop/commit/fc7c8f9bf2588fd25f8b457ee4a9b444e619519c]
> Do we need to change min.hadoop.version to the ORC-mapreduce module ? 
>  Is there a remedy for this?
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)