Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.20.1
    • Fix Version/s: 0.21.0
    • Component/s: jobtracker
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      Fixes the NPE in 'refreshNodes', ExpiryTracker thread and heartbeat. NPE occurred in the following cases
      - a blacklisted tracker is either decommissioned or expires.
      - a lost tracker gets blacklisted


      Show
      Fixes the NPE in 'refreshNodes', ExpiryTracker thread and heartbeat. NPE occurred in the following cases - a blacklisted tracker is either decommissioned or expires. - a lost tracker gets blacklisted

      Description

      NullPointerException is obtained in Tracker Expiry Thread. Below is the exception obtained in the JT logs

      ERROR org.apache.hadoop.mapred.JobTracker: Tracker Expiry Thread got exception: java.lang.NullPointerException
              at org.apache.hadoop.mapred.JobTracker.updateTaskTrackerStatus(JobTracker.java:2971)
              at org.apache.hadoop.mapred.JobTracker.access$300(JobTracker.java:104)
              at org.apache.hadoop.mapred.JobTracker$ExpireTrackers.run(JobTracker.java:381)
              at java.lang.Thread.run(Thread.java:619)
      

      The steps to reproduce this issue are:

      • Blacklist a TT.
      • Restart it.
      • The above exception is obtained when the first instance of TT is marked as lost.

      However the above exception does not break any functionality.

        Attachments

        1. mapreduce-754-v2.2.1-yahoo.patch
          10 kB
          Amar Kamat
        2. mapreduce-754-v2.2-branch-21.patch
          15 kB
          Amar Kamat
        3. mapreduce-754-v2.2-yahoo.patch
          22 kB
          Amar Kamat
        4. mapreduce-754-v2.2.patch
          14 kB
          Amar Kamat
        5. mapreduce-754-v1.2.patch
          14 kB
          Amar Kamat
        6. mapreduce-754-v1.1.patch
          10 kB
          Amar Kamat
        7. mapreduce-754-wip.patch
          13 kB
          Sreekanth Ramakrishnan

          Issue Links

            Activity

              People

              • Assignee:
                amar_kamat Amar Kamat
                Reporter:
                rramya Ramya Sunil
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: