hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Gummadi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAPREDUCE-2031) TestTaskLauncher and TestTaskTrackerLocalization fail with NPE in trunk.
Date Thu, 02 Sep 2010 07:18:53 GMT

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

Ravi Gummadi updated MAPREDUCE-2031:
------------------------------------

    Attachment: 2031.patch

Attaching patch by fixing the 2 test cases to initialize TaskTrackerInstrumentation.

> TestTaskLauncher and TestTaskTrackerLocalization fail with NPE in trunk.
> ------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2031
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2031
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: tasktracker, test
>    Affects Versions: 0.22.0
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Ravi Gummadi
>             Fix For: 0.22.0
>
>         Attachments: 2031.patch
>
>
> TestTaskLauncher and TestTaskTrackerLocalization fail in trunk after the commit of MAPREDUCE-1881
with NPE:
> {noformat}
> java.lang.NullPointerException
>         at org.apache.hadoop.mapred.TaskTracker$TaskInProgress.kill(TaskTracker.java:2978)
>         at org.apache.hadoop.mapred.TaskTracker$TaskInProgress.jobHasFinished(TaskTracker.java:2941)
>         at org.apache.hadoop.mapred.TaskTracker.purgeJob(TaskTracker.java:1919)
>         at org.apache.hadoop.mapred.TestTaskTrackerLocalization.verifyUserLogsRemoval(TestTaskTrackerLocalization.java:816)
>         at org.apache.hadoop.mapred.TestTaskTrackerLocalization.testJobFilesRemoval(TestTaskTrackerLocalization.java:897)
> {noformat}
> {noformat}
> java.lang.NullPointerException
>         at org.apache.hadoop.mapred.TaskTracker$TaskInProgress.kill(TaskTracker.java:2978)
>         at org.apache.hadoop.mapred.TaskTracker$TaskInProgress.jobHasFinished(TaskTracker.java:2941)
>         at org.apache.hadoop.mapred.TaskTracker.purgeTask(TaskTracker.java:1981)
>         at org.apache.hadoop.mapred.TaskTracker.processKillTaskAction(TaskTracker.java:420)
>         at org.apache.hadoop.mapred.TestTaskLauncher.testExternalKillForLaunchTask(TestTaskLauncher.java:95)
> {noformat}
> NPE happens because taskTracker.myInstrumentation is not initialized.

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


Mime
View raw message