You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Amar Kamat (JIRA)" <ji...@apache.org> on 2009/12/07 13:54:18 UTC

[jira] Updated: (MAPREDUCE-754) NPE in expiry thread when a TT is lost

     [ https://issues.apache.org/jira/browse/MAPREDUCE-754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amar Kamat updated MAPREDUCE-754:
---------------------------------

    Attachment: mapreduce-754-v2.2.patch

Attaching a patch that simply guards for null check. Adding testcases for the same. 

> NPE in expiry thread when a TT is lost
> --------------------------------------
>
>                 Key: MAPREDUCE-754
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-754
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.20.1
>            Reporter: Ramya R
>            Assignee: Amar Kamat
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: mapreduce-754-v1.1.patch, mapreduce-754-v1.2.patch, mapreduce-754-v2.2.patch, mapreduce-754-wip.patch
>
>
> NullPointerException is obtained in Tracker Expiry Thread. Below is the exception obtained in the JT logs 
> {noformat}
> 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)
> {noformat}
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.