Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.21.0
-
None
-
Reviewed
Description
When running ant test TestTrackerBlacklistAcrossJobs, losing task tracker heartbeat.
It seems when a task tracker is killed , it throws exception. Instead it should catch it and process it and allow the rest of the flow to go through.
2009-07-08 11:58:26,116 INFO ipc.Server (Server.java:run(973)) - IPC Server handler 7 on 40193, call heartbeat(org.apache.hadoop.mapred.TaskTrackerStatus@13ec758, false, false, true, 6) from 127.0.0.1:40200: error: java.io.IOException: java.lang.RuntimeException: tracker_host1.rack.com:localhost/127.0.0.1:40197 already has slots reserved for null; being asked to un-reserve for job_200907081158_0001
java.io.IOException: java.lang.RuntimeException: tracker_host1.rack.com:localhost/127.0.0.1:40197 already has slots reserved for null; being asked to un-reserve for job_200907081158_0001
at org.apache.hadoop.mapreduce.server.jobtracker.TaskTracker.unreserveSlots(TaskTracker.java:162)
at org.apache.hadoop.mapred.JobInProgress.addTrackerTaskFailure(JobInProgress.java:1580)
at org.apache.hadoop.mapred.JobInProgress.failedTask(JobInProgress.java:2908)
at org.apache.hadoop.mapred.JobInProgress.updateTaskStatus(JobInProgress.java:1025)
at org.apache.hadoop.mapred.JobTracker.updateTaskStatuses(JobTracker.java:3869)
at org.apache.hadoop.mapred.JobTracker.processHeartbeat(JobTracker.java:3081)
at org.apache.hadoop.mapred.JobTracker.heartbeat(JobTracker.java:2819)
at sun.reflect.GeneratedMethodAccessor7.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:964)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:960)
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:958)
2009-07-08 11:58:26,162 INFO mapred.TaskTracker (TaskTracker.java:transmitHeartBeat(1196)) - Resending 'status' to 'localhost' with reponseId '6