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 2007/03/05 18:49:50 UTC
[jira] Updated: (HADOOP-1060) IndexOutOfBoundsException in
JobInProgress.updateTaskStatus leads to hung jobs
[ https://issues.apache.org/jira/browse/HADOOP-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy updated HADOOP-1060:
----------------------------------
Description:
When the JobTracker detects that a TaskTracker is 'lost' and tries to fail the incomplete tasks and the completed map tasks it fails with:
2007-03-03 00:38:24,056 ERROR org.apache.hadoop.mapred.JobTracker: Tracker Expiry Thread got exception: java.lang.IndexOutOfBoundsException: Index: 310, Size: 307
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.get(ArrayList.java:321)
at org.apache.hadoop.mapred.JobInProgress.updateTaskStatus(JobInProgress.java:342)
at org.apache.hadoop.mapred.JobInProgress.failedTask(JobInProgress.java:862)
at org.apache.hadoop.mapred.JobTracker.lostTaskTracker(JobTracker.java:1637)
at org.apache.hadoop.mapred.JobTracker$ExpireTrackers.run(JobTracker.java:269)
at java.lang.Thread.run(Thread.java:595)
Another instance of same exception:
2007-03-05 07:44:42,869 INFO org.apache.hadoop.ipc.Server: IPC Server handler 9 on 50020 call error: java.io.IOException: java.lang.IndexOutOfBoundsException: Index: 12341
215, Size: 83189
java.io.IOException: java.lang.IndexOutOfBoundsException: Index: 12341215, Size: 83189
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.apache.hadoop.mapred.JobInProgress.updateTaskStatus(JobInProgress.java:342)
at org.apache.hadoop.mapred.JobTracker.updateTaskStatuses(JobTracker.java:1611)
at org.apache.hadoop.mapred.JobTracker.processHeartbeat(JobTracker.java:1163)
at org.apache.hadoop.mapred.JobTracker.heartbeat(JobTracker.java:1037)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:336)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:559)
This means that the tasks aren't updated correctly and the JT just assumes the task is running and never restarts the task... thereby leading to a hung job.
was:
When the JobTracker detects that a TaskTracker is 'lost' and tries to fail the incomplete tasks and the completed map tasks it fails with:
2007-03-03 00:38:24,056 ERROR org.apache.hadoop.mapred.JobTracker: Tracker Expiry Thread got exception: java.lang.IndexOutOfBoundsException: Index: 310, Size: 307
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.get(ArrayList.java:321)
at org.apache.hadoop.mapred.JobInProgress.updateTaskStatus(JobInProgress.java:342)
at org.apache.hadoop.mapred.JobInProgress.failedTask(JobInProgress.java:862)
at org.apache.hadoop.mapred.JobTracker.lostTaskTracker(JobTracker.java:1637)
at org.apache.hadoop.mapred.JobTracker$ExpireTrackers.run(JobTracker.java:269)
at java.lang.Thread.run(Thread.java:595)
This means that the tasks aren't 'failed' correctly and the JT just assumes the task is running and never restarts the task... thereby leading to a hung job.
Summary: IndexOutOfBoundsException in JobInProgress.updateTaskStatus leads to hung jobs (was: Lost tasktracker leads to hung jobs)
> IndexOutOfBoundsException in JobInProgress.updateTaskStatus leads to hung jobs
> ------------------------------------------------------------------------------
>
> Key: HADOOP-1060
> URL: https://issues.apache.org/jira/browse/HADOOP-1060
> Project: Hadoop
> Issue Type: Bug
> Components: mapred
> Affects Versions: 0.12.0
> Reporter: Arun C Murthy
> Assigned To: Arun C Murthy
> Priority: Critical
> Fix For: 0.12.1
>
>
> When the JobTracker detects that a TaskTracker is 'lost' and tries to fail the incomplete tasks and the completed map tasks it fails with:
> 2007-03-03 00:38:24,056 ERROR org.apache.hadoop.mapred.JobTracker: Tracker Expiry Thread got exception: java.lang.IndexOutOfBoundsException: Index: 310, Size: 307
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at org.apache.hadoop.mapred.JobInProgress.updateTaskStatus(JobInProgress.java:342)
> at org.apache.hadoop.mapred.JobInProgress.failedTask(JobInProgress.java:862)
> at org.apache.hadoop.mapred.JobTracker.lostTaskTracker(JobTracker.java:1637)
> at org.apache.hadoop.mapred.JobTracker$ExpireTrackers.run(JobTracker.java:269)
> at java.lang.Thread.run(Thread.java:595)
> Another instance of same exception:
> 2007-03-05 07:44:42,869 INFO org.apache.hadoop.ipc.Server: IPC Server handler 9 on 50020 call error: java.io.IOException: java.lang.IndexOutOfBoundsException: Index: 12341
> 215, Size: 83189
> java.io.IOException: java.lang.IndexOutOfBoundsException: Index: 12341215, Size: 83189
> at java.util.ArrayList.RangeCheck(ArrayList.java:547)
> at java.util.ArrayList.get(ArrayList.java:322)
> at org.apache.hadoop.mapred.JobInProgress.updateTaskStatus(JobInProgress.java:342)
> at org.apache.hadoop.mapred.JobTracker.updateTaskStatuses(JobTracker.java:1611)
> at org.apache.hadoop.mapred.JobTracker.processHeartbeat(JobTracker.java:1163)
> at org.apache.hadoop.mapred.JobTracker.heartbeat(JobTracker.java:1037)
> at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:336)
> at org.apache.hadoop.ipc.Server$Handler.run(Server.java:559)
> This means that the tasks aren't updated correctly and the JT just assumes the task is running and never restarts the task... thereby leading to a hung job.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.