You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2008/09/19 08:26:44 UTC

[jira] Created: (HADOOP-4213) NPE in TestLimitTasksPerJobTaskScheduler

NPE in TestLimitTasksPerJobTaskScheduler
----------------------------------------

                 Key: HADOOP-4213
                 URL: https://issues.apache.org/jira/browse/HADOOP-4213
             Project: Hadoop Core
          Issue Type: Bug
          Components: mapred, test
            Reporter: Tsz Wo (Nicholas), SZE


The test is failed consistently.  It is also failed on Hudson.
{noformat}
Testsuite: org.apache.hadoop.mapred.TestLimitTasksPerJobTaskScheduler
Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.391 sec

Testcase: testMaxRunningTasksPerJob took 0.328 sec
	Caused an ERROR
null
java.lang.NullPointerException
	at org.apache.hadoop.mapred.LimitTasksPerJobTaskScheduler.start(LimitTasksPerJobTaskScheduler.java:53)
	at org.apache.hadoop.mapred.TestJobQueueTaskScheduler.setUp(TestJobQueueTaskScheduler.java:197)

...
{noformat}

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


[jira] Assigned: (HADOOP-4213) NPE in TestLimitTasksPerJobTaskScheduler

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

Hemanth Yamijala reassigned HADOOP-4213:
----------------------------------------

    Assignee: Sreekanth Ramakrishnan

This seems caused by HADOOP-3930. Why didn't it fail when ant core tests was run ? It should have, AFAIK.

> NPE in TestLimitTasksPerJobTaskScheduler
> ----------------------------------------
>
>                 Key: HADOOP-4213
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4213
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred, test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Sreekanth Ramakrishnan
>
> The test is failed consistently.  It is also failed on Hudson.
> {noformat}
> Testsuite: org.apache.hadoop.mapred.TestLimitTasksPerJobTaskScheduler
> Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.391 sec
> Testcase: testMaxRunningTasksPerJob took 0.328 sec
> 	Caused an ERROR
> null
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.LimitTasksPerJobTaskScheduler.start(LimitTasksPerJobTaskScheduler.java:53)
> 	at org.apache.hadoop.mapred.TestJobQueueTaskScheduler.setUp(TestJobQueueTaskScheduler.java:197)
> ...
> {noformat}

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


[jira] Updated: (HADOOP-4213) NPE in TestLimitTasksPerJobTaskScheduler

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

Sreekanth Ramakrishnan updated HADOOP-4213:
-------------------------------------------

    Attachment: HADOOP-4213-1.patch

Attaching the patch which fixes the null pointer. Initalized QueueManager in _FakeTaskTrackerManager_

> NPE in TestLimitTasksPerJobTaskScheduler
> ----------------------------------------
>
>                 Key: HADOOP-4213
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4213
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred, test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Sreekanth Ramakrishnan
>         Attachments: HADOOP-4213-1.patch
>
>
> The test is failed consistently.  It is also failed on Hudson.
> {noformat}
> Testsuite: org.apache.hadoop.mapred.TestLimitTasksPerJobTaskScheduler
> Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.391 sec
> Testcase: testMaxRunningTasksPerJob took 0.328 sec
> 	Caused an ERROR
> null
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.LimitTasksPerJobTaskScheduler.start(LimitTasksPerJobTaskScheduler.java:53)
> 	at org.apache.hadoop.mapred.TestJobQueueTaskScheduler.setUp(TestJobQueueTaskScheduler.java:197)
> ...
> {noformat}

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


[jira] Commented: (HADOOP-4213) NPE in TestLimitTasksPerJobTaskScheduler

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

Hudson commented on HADOOP-4213:
--------------------------------

Integrated in Hadoop-trunk #611 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/611/])

> NPE in TestLimitTasksPerJobTaskScheduler
> ----------------------------------------
>
>                 Key: HADOOP-4213
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4213
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred, test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Sreekanth Ramakrishnan
>         Attachments: HADOOP-4213-1.patch
>
>
> The test is failed consistently.  It is also failed on Hudson.
> {noformat}
> Testsuite: org.apache.hadoop.mapred.TestLimitTasksPerJobTaskScheduler
> Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.391 sec
> Testcase: testMaxRunningTasksPerJob took 0.328 sec
> 	Caused an ERROR
> null
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.LimitTasksPerJobTaskScheduler.start(LimitTasksPerJobTaskScheduler.java:53)
> 	at org.apache.hadoop.mapred.TestJobQueueTaskScheduler.setUp(TestJobQueueTaskScheduler.java:197)
> ...
> {noformat}

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


[jira] Commented: (HADOOP-4213) NPE in TestLimitTasksPerJobTaskScheduler

Posted by "Sreekanth Ramakrishnan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632626#action_12632626 ] 

Sreekanth Ramakrishnan commented on HADOOP-4213:
------------------------------------------------

Attaching test-patch result in-line 
{noformat}
     [exec]
     [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 3 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.

{noformat}

ant test-core didnt not show any failures same with ant test-contrib

> NPE in TestLimitTasksPerJobTaskScheduler
> ----------------------------------------
>
>                 Key: HADOOP-4213
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4213
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred, test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Sreekanth Ramakrishnan
>         Attachments: HADOOP-4213-1.patch
>
>
> The test is failed consistently.  It is also failed on Hudson.
> {noformat}
> Testsuite: org.apache.hadoop.mapred.TestLimitTasksPerJobTaskScheduler
> Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.391 sec
> Testcase: testMaxRunningTasksPerJob took 0.328 sec
> 	Caused an ERROR
> null
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.LimitTasksPerJobTaskScheduler.start(LimitTasksPerJobTaskScheduler.java:53)
> 	at org.apache.hadoop.mapred.TestJobQueueTaskScheduler.setUp(TestJobQueueTaskScheduler.java:197)
> ...
> {noformat}

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


[jira] Updated: (HADOOP-4213) NPE in TestLimitTasksPerJobTaskScheduler

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

Devaraj Das updated HADOOP-4213:
--------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I just committed this. Thanks, Sreekanth!

> NPE in TestLimitTasksPerJobTaskScheduler
> ----------------------------------------
>
>                 Key: HADOOP-4213
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4213
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred, test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Sreekanth Ramakrishnan
>         Attachments: HADOOP-4213-1.patch
>
>
> The test is failed consistently.  It is also failed on Hudson.
> {noformat}
> Testsuite: org.apache.hadoop.mapred.TestLimitTasksPerJobTaskScheduler
> Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.391 sec
> Testcase: testMaxRunningTasksPerJob took 0.328 sec
> 	Caused an ERROR
> null
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.LimitTasksPerJobTaskScheduler.start(LimitTasksPerJobTaskScheduler.java:53)
> 	at org.apache.hadoop.mapred.TestJobQueueTaskScheduler.setUp(TestJobQueueTaskScheduler.java:197)
> ...
> {noformat}

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


[jira] Commented: (HADOOP-4213) NPE in TestLimitTasksPerJobTaskScheduler

Posted by "Hemanth Yamijala (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632631#action_12632631 ] 

Hemanth Yamijala commented on HADOOP-4213:
------------------------------------------

+1 for the fix. I also verified TestLimitTasksPerJobTaskScheduler and TestJobQueueTaskScheduler both run successfully with this patch.

> NPE in TestLimitTasksPerJobTaskScheduler
> ----------------------------------------
>
>                 Key: HADOOP-4213
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4213
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred, test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Sreekanth Ramakrishnan
>         Attachments: HADOOP-4213-1.patch
>
>
> The test is failed consistently.  It is also failed on Hudson.
> {noformat}
> Testsuite: org.apache.hadoop.mapred.TestLimitTasksPerJobTaskScheduler
> Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.391 sec
> Testcase: testMaxRunningTasksPerJob took 0.328 sec
> 	Caused an ERROR
> null
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.LimitTasksPerJobTaskScheduler.start(LimitTasksPerJobTaskScheduler.java:53)
> 	at org.apache.hadoop.mapred.TestJobQueueTaskScheduler.setUp(TestJobQueueTaskScheduler.java:197)
> ...
> {noformat}

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


[jira] Updated: (HADOOP-4213) NPE in TestLimitTasksPerJobTaskScheduler

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

Sreekanth Ramakrishnan updated HADOOP-4213:
-------------------------------------------

    Status: Patch Available  (was: Open)

Attaching patch for running through Hudson

> NPE in TestLimitTasksPerJobTaskScheduler
> ----------------------------------------
>
>                 Key: HADOOP-4213
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4213
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred, test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Sreekanth Ramakrishnan
>         Attachments: HADOOP-4213-1.patch
>
>
> The test is failed consistently.  It is also failed on Hudson.
> {noformat}
> Testsuite: org.apache.hadoop.mapred.TestLimitTasksPerJobTaskScheduler
> Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.391 sec
> Testcase: testMaxRunningTasksPerJob took 0.328 sec
> 	Caused an ERROR
> null
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.LimitTasksPerJobTaskScheduler.start(LimitTasksPerJobTaskScheduler.java:53)
> 	at org.apache.hadoop.mapred.TestJobQueueTaskScheduler.setUp(TestJobQueueTaskScheduler.java:197)
> ...
> {noformat}

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