hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik Kambatla (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-10686) Writables are not always configured
Date Thu, 12 Jun 2014 07:24:01 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-10686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Karthik Kambatla updated HADOOP-10686:
--------------------------------------

    Summary: Writables are not always configured  (was: Writables are not configured by framework)

> Writables are not always configured
> -----------------------------------
>
>                 Key: HADOOP-10686
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10686
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Abraham Elmahrek
>            Assignee: Abraham Elmahrek
>         Attachments: MAPREDUCE-5914.0.patch, MAPREDUCE-5914.1.patch, MAPREDUCE-5914.2.patch
>
>
> Seeing the following exception:
> {noformat}
> 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.sqoop.job.io.SqoopWritable.readFields(SqoopWritable.java:59)
> 	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)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:744)
> {noformat}
> It turns out that WritableComparator does not configure Writable objects :https://github.com/apache/hadoop-common/blob/branch-2.3.0/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/WritableComparator.java.
This is during the sort phase for an MR job.



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

Mime
View raw message