hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1178) MultipleInputs fails with ClassCastException
Date Tue, 03 Nov 2009 10:13:59 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-1178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772998#action_12772998
] 

Hadoop QA commented on MAPREDUCE-1178:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12423895/patch-1178.txt
  against trunk revision 831816.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit
warnings.

    +1 core tests.  The patch passed core unit tests.

    -1 contrib tests.  The patch failed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/221/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/221/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/221/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/221/console

This message is automatically generated.

> MultipleInputs fails with ClassCastException 
> ---------------------------------------------
>
>                 Key: MAPREDUCE-1178
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1178
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.21.0
>            Reporter: Jay Booth
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1178.patch, patch-1178.txt
>
>
> When running MultipleInputs against the new API, we get failures with this ClassCastException:
> java.lang.ClassCastException: org.apache.hadoop.mapreduce.lib.input.TaggedInputSplit
cannot be cast to org.apache.hadoop.mapreduce.lib.input.FileSplit
> 	at org.apache.hadoop.mapreduce.lib.input.LineRecordReader.initialize(LineRecordReader.java:70)
> 	at org.apache.hadoop.mapreduce.lib.input.KeyValueLineRecordReader.initialize(KeyValueLineRecordReader.java:59)
> 	at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.initialize(MapTask.java:439)
> 	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:599)
> 	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:323)
> 	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:257)
> The unit test for MultipleInputs doesn't actually run a job so this snuck through while
still passing the unit test.  Attached patch fixes the unit test to expose the failure and
does a little casting kung-fu in LineRecordReader to avoid the error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message