Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

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

        Issue Links

          Activity

          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Amar Kamat made changes -
          Attachment mapreduce-754-v2.2.1-yahoo.patch [ 12427347 ]
          Amar Kamat made changes -
          Release Note 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


          Sharad Agarwal made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Fix Version/s 0.21.0 [ 12314045 ]
          Fix Version/s 0.22.0 [ 12314184 ]
          Resolution Fixed [ 1 ]
          Amar Kamat made changes -
          Attachment mapreduce-754-v2.2-branch-21.patch [ 12427325 ]
          Amar Kamat made changes -
          Attachment mapreduce-754-v2.2-yahoo.patch [ 12427319 ]
          Amar Kamat made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Amar Kamat made changes -
          Attachment mapreduce-754-v2.2.patch [ 12427165 ]
          Amar Kamat made changes -
          Attachment mapreduce-754-v1.2.patch [ 12424465 ]
          Amar Kamat made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Amar Kamat made changes -
          Link This issue is related to MAPREDUCE-1188 [ MAPREDUCE-1188 ]
          Amar Kamat made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Affects Version/s 0.20.1 [ 12314047 ]
          Fix Version/s 0.22.0 [ 12314184 ]
          Amar Kamat made changes -
          Assignee Amar Kamat [ amar_kamat ]
          Amar Kamat made changes -
          Attachment mapreduce-754-v1.1.patch [ 12424195 ]
          Amar Kamat made changes -
          Attachment mapreduce-754-v1.0.patch [ 12424194 ]
          Amar Kamat made changes -
          Attachment mapreduce-754-v1.0.patch [ 12424194 ]
          Amareshwari Sriramadasu made changes -
          Link This issue is related to MAPREDUCE-746 [ MAPREDUCE-746 ]
          Sreekanth Ramakrishnan made changes -
          Field Original Value New Value
          Attachment mapreduce-754-wip.patch [ 12413404 ]
          Ramya Sunil created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development