hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Douglas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-5607) TestCapacityScheduler fails with NPE
Date Wed, 01 Apr 2009 18:20:13 GMT

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

Chris Douglas updated HADOOP-5607:
----------------------------------

    Status: Patch Available  (was: Open)

> TestCapacityScheduler fails with NPE
> ------------------------------------
>
>                 Key: HADOOP-5607
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5607
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/capacity-sched, test
>    Affects Versions: 0.20.0
>            Reporter: Chris Douglas
>         Attachments: 5607-0.patch
>
>
> Observed on Hudson:
> {noformat}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.JobInProgress.terminateJob(JobInProgress.java:2117)
> 	at org.apache.hadoop.mapred.JobInProgress.terminate(JobInProgress.java:2153)
> 	at org.apache.hadoop.mapred.JobInProgress.kill(JobInProgress.java:2221)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeTaskTrackerManager.killJob(TestCapacityScheduler.java:359)
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.killJobIfInvalidRequirements(CapacityTaskScheduler.java:1431)
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.jobAdded(CapacityTaskScheduler.java:1463)
> 	at org.apache.hadoop.mapred.JobQueuesManager.jobAdded(JobQueuesManager.java:183)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeTaskTrackerManager.submitJob(TestCapacityScheduler.java:387)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:625)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.testHighMemoryJobWithInvalidRequirements(TestCapacityScheduler.java:1992)
> {noformat}
> This was introduced by HADOOP-5565. FakeJobInProgress doesn't pass a JobTracker reference
to the subtype cstr, so calling kill() derefs the null JT field.

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