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 "Vinod K V (JIRA)" <ji...@apache.org> on 2009/03/02 12:48:13 UTC
[jira] Commented: (HADOOP-5376)
JobInProgress.obtainTaskCleanupTask() throws an
ArrayIndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/HADOOP-5376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677965#action_12677965 ]
Vinod K V commented on HADOOP-5376:
-----------------------------------
Here's the trace:
{code}
2009-02-28 23:17:15,029 INFO org.apache.hadoop.ipc.Server: IPC Server handler 34 on 52000, call heartbeat(org.apache.hadoop.mapred.TaskTrackerStatus@243ff467, false, false, true
7584) from <ip:port>:error: java.io.IOException: java.lang.ArrayIndexOutOfBoundsException: 7800
java.io.IOException: java.lang.ArrayIndexOutOfBoundsException: 7800
at org.apache.hadoop.mapred.JobInProgress.obtainTaskCleanupTask(JobInProgress.java:1001)
at org.apache.hadoop.mapred.JobTracker.getSetupAndCleanupTasks(JobTracker.java:2622)
at org.apache.hadoop.mapred.JobTracker.heartbeat(JobTracker.java:2307)
at sun.reflect.GeneratedMethodAccessor10.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:508)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:959)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:955)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:953)
{code}
I saw this while running jobs of size 7800 maps. 7800 id thus corresponds to a job-cleanup task.
In a discussion offline, Amareshwari explained that this issue occurs if a setup/cleanup task is running on the TT that subsequently becomes lost and the task moves to a KILLED_UNCLEAN state. This makes the setup/cleanup task to be incorrectly added to the list of tasks that need cleanup.
> JobInProgress.obtainTaskCleanupTask() throws an ArrayIndexOutOfBoundsException
> ------------------------------------------------------------------------------
>
> Key: HADOOP-5376
> URL: https://issues.apache.org/jira/browse/HADOOP-5376
> Project: Hadoop Core
> Issue Type: Bug
> Components: mapred
> Affects Versions: 0.20.0
> Reporter: Vinod K V
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.