You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Arun C Murthy (JIRA)" <ji...@apache.org> on 2008/06/26 06:34:46 UTC
[jira] Created: (HADOOP-3647) Corner-case in IFile leads to failed
tasks
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
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.
[jira] Commented: (HADOOP-3647) Corner-case in IFile leads to
failed tasks
Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612752#action_12612752 ]
Devaraj Das commented on HADOOP-3647:
-------------------------------------
I have two comments:
1) The second seek in TaskTracker::doGet seems expensive esp because it is only for debugging. It can be optimized to get the same info.
2) The comment " // TODO: Remove this after a 'fix' for HADOOP-3647 // WARN: This won't work for compressed map-outputs!" should be removed from ReduceTask.java.
> 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.
[jira] Commented: (HADOOP-3647) Corner-case in IFile leads to
failed tasks
Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612760#action_12612760 ]
Devaraj Das commented on HADOOP-3647:
-------------------------------------
+1
> 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, HADOOP-3647_1_20080710.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.
[jira] Updated: (HADOOP-3647) Corner-case in IFile leads to failed
tasks
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated HADOOP-3647:
----------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
I just committed this.
> 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, HADOOP-3647_1_20080710.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.
[jira] Updated: (HADOOP-3647) Corner-case in IFile leads to failed
tasks
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ 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)
> 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, HADOOP-3647_1_20080710.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.
[jira] Commented: (HADOOP-3647) Corner-case in IFile leads to
failed tasks
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624720#action_12624720 ]
Hudson commented on HADOOP-3647:
--------------------------------
Integrated in Hadoop-trunk #581 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/581/])
> 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, HADOOP-3647_1_20080710.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.
[jira] Updated: (HADOOP-3647) Corner-case in IFile leads to failed
tasks
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (HADOOP-3647) Corner-case in IFile leads to failed
tasks
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated HADOOP-3647:
----------------------------------
Status: Open (was: Patch Available)
Resubmitting to hudson...
> 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.
[jira] Updated: (HADOOP-3647) Corner-case in IFile leads to failed
tasks
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ 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)
> 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.
[jira] Commented: (HADOOP-3647) Corner-case in IFile leads to
failed tasks
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608301#action_12608301 ]
Arun C Murthy commented on HADOOP-3647:
---------------------------------------
This has been observed only on sort500, I've tried in-vain to reproduce this on smaller clusters...
> 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
>
>
> 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.
[jira] Updated: (HADOOP-3647) Corner-case in IFile leads to failed
tasks
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated HADOOP-3647:
----------------------------------
Status: Open (was: Patch Available)
> 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, HADOOP-3647_1_20080710.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.
[jira] Commented: (HADOOP-3647) Corner-case in IFile leads to
failed tasks
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612903#action_12612903 ]
Arun C Murthy commented on HADOOP-3647:
---------------------------------------
Hudson seems be to in strife... I've verified that patch passes all unit tests locally and 'ant test-patch' doesn't balk too.
{noformat}
[exec] -1 overall. [exec] +1 @author. The patch does not contain any @author tags.
[exec] -1 tests included. The patch doesn't appear to include any new or modified tests.
[exec] Please justify why no tests are needed for this patch.
[exec] +1 javadoc. The javadoc tool did not generate any warning messages.
[exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
[exec] +1 findbugs. The patch does not introduce any new Findbugs warnings.
{noformat}
This patch only adds some logging, doesn't merit a test-case.
> 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, HADOOP-3647_1_20080710.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.
[jira] Updated: (HADOOP-3647) Corner-case in IFile leads to failed
tasks
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated HADOOP-3647:
----------------------------------
Attachment: HADOOP-3647_1_20080710.patch
Updated patch, this optimizes the seeks.
> 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, HADOOP-3647_1_20080710.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.
[jira] Updated: (HADOOP-3647) Corner-case in IFile leads to failed
tasks
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated HADOOP-3647:
----------------------------------
Attachment: HADOOP-3647_0_20080708.patch
I've tried in-vain to reproduce this over the past week, as such here is a 'debug patch' to help us track this better in the future. I propose we commit this for now and keep an eye on this henceforth...
> 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.
[jira] Updated: (HADOOP-3647) Corner-case in IFile leads to failed
tasks
Posted by "Per Jacobsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Per Jacobsson updated HADOOP-3647:
----------------------------------
Attachment: hadoop-logs.tar.gz
Attaching error logs from a failed run that could be related to this issue.
> 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, HADOOP-3647_1_20080710.patch, hadoop-logs.tar.gz
>
>
> 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.