hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun C Murthy (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3647) Corner-case in IFile leads to failed tasks
Date Wed, 09 Jul 2008 17:11:31 GMT

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

Arun C Murthy updated HADOOP-3647:
----------------------------------

    Status: Patch Available  (was: Open)

Forgot to add that the patch has the following 'debug' properties:
1. Logs the first key & value lengths for intermediate map-outputs both on the serving
end (jetty) and the client end (reducer's shuffle)
2. Dumps the in-memory buffer to disk in-case of the observed exceptions.

Also, I've fixed a possibly subtle bug with flushing output-streams for compressed map-outputs
in IFile.Writer.close().

> Corner-case in IFile leads to failed tasks
> ------------------------------------------
>
>                 Key: HADOOP-3647
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3647
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.18.0
>            Reporter: Arun C Murthy
>            Assignee: Arun C Murthy
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: HADOOP-3647_0_20080708.patch
>
>
> A couple of reduce tasks failed at IFile.Reader.next, one with:
> {noformat}
> java.lang.NegativeArraySizeException
>    at org.apache.hadoop.mapred.IFile$Reader.readNextBlock(IFile.java:246)
>    at org.apache.hadoop.mapred.IFile$Reader.next(IFile.java:298)
>    at org.apache.hadoop.mapred.Merger$Segment.next(Merger.java:134)
>    at org.apache.hadoop.mapred.Merger$MergeQueue.adjustPriorityQueue(Merger.java:225)
>    at org.apache.hadoop.mapred.Merger$MergeQueue.next(Merger.java:242)
>    at org.apache.hadoop.mapred.Task$ValuesIterator.readNextKey(Task.java:720)
>    at org.apache.hadoop.mapred.Task$ValuesIterator.next(Task.java:679)
>    at org.apache.hadoop.mapred.ReduceTask$ReduceValuesIterator.next(ReduceTask.java:225)
>    at org.apache.hadoop.mapred.lib.IdentityReducer.reduce(IdentityReducer.java:39)
>    at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:316)
>    at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2157)
> {noformat}
> On a related note, another failed at:
> {code:title=IFile.java:380}
>       // Position for the next record
>       long skipped = dataIn.skip(recordLength);
>       if (skipped != recordLength) {
>         throw new IOException("Failed to skip past record of length: " + 
>                               recordLength);
>       }
> {code}
> where recordLength was *-17*.

-- 
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