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 "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2010/08/25 10:49:17 UTC

[jira] Created: (MAPREDUCE-2031) TestTaskLauncher and TestTaskTrackerLocalization fail with NPE in trunk.

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
             Fix For: 0.22.0


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.


[jira] Commented: (MAPREDUCE-2031) TestTaskLauncher and TestTaskTrackerLocalization fail with NPE in trunk.

Posted by "Ravi Gummadi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905783#action_12905783 ] 

Ravi Gummadi commented on MAPREDUCE-2031:
-----------------------------------------

Unit tests passed on my local machine.

ant test-patch gave:

     [exec] +1 overall.
     [exec]
     [exec]     +1 @author.  The patch does not contain any @author tags.
     [exec]
     [exec]     +1 tests included.  The patch appears to include 6 new or modified tests.
     [exec]
     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.
     [exec]
     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
     [exec]
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.
     [exec]
     [exec]     +1 release audit.  The applied patch does not increase the total number of release audit warnings.
     [exec]
     [exec]     +1 system tests framework.  The patch passed system tests framework compile.


> 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.


[jira] Updated: (MAPREDUCE-2031) TestTaskLauncher and TestTaskTrackerLocalization fail with NPE in trunk.

Posted by "Ravi Gummadi (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Commented: (MAPREDUCE-2031) TestTaskLauncher and TestTaskTrackerLocalization fail with NPE in trunk.

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905439#action_12905439 ] 

Amareshwari Sriramadasu commented on MAPREDUCE-2031:
----------------------------------------------------

Patch looks fine. Please upload ant test and test-patch results.

> 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.


[jira] Resolved: (MAPREDUCE-2031) TestTaskLauncher and TestTaskTrackerLocalization fail with NPE in trunk.

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu resolved MAPREDUCE-2031.
------------------------------------------------

    Resolution: Fixed

I just committed this. Thanks Ravi !

> 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.


[jira] Assigned: (MAPREDUCE-2031) TestTaskLauncher and TestTaskTrackerLocalization fail with NPE in trunk.

Posted by "Ravi Gummadi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Gummadi reassigned MAPREDUCE-2031:
---------------------------------------

    Assignee: Ravi Gummadi

> 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
>
>
> 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.


[jira] Commented: (MAPREDUCE-2031) TestTaskLauncher and TestTaskTrackerLocalization fail with NPE in trunk.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926071#action_12926071 ] 

Hudson commented on MAPREDUCE-2031:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #523 (See [https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/523/])
    

> 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.