Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-733

When running ant test TestTrackerBlacklistAcrossJobs, losing task tracker heartbeat exception occurs.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21.0
    • 0.21.0
    • tasktracker
    • 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

      Attachments

        1. MAPREDUCE-733-ydist.patch
          2 kB
          Sreekanth Ramakrishnan
        2. MAPREDUCE-733-5.patch
          14 kB
          Sreekanth Ramakrishnan
        3. MAPREDUCE-733-4.patch
          14 kB
          Sreekanth Ramakrishnan
        4. MAPREDUCE-733-3.patch
          14 kB
          Sreekanth Ramakrishnan
        5. MAPREDUCE-733-2.patch
          9 kB
          Sreekanth Ramakrishnan
        6. MAPREDUCE-733-1.patch
          8 kB
          Sreekanth Ramakrishnan
        7. MAPREDUCE-733_0_20090708.patch
          1 kB
          Arun Murthy
        8. MAPREDUCE-733_0_20090708_yhadoop20.patch
          1 kB
          Arun Murthy

        Activity

          People

            acmurthy Arun Murthy
            iyappans Iyappan Srinivasan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: