hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "V.V.Chaitanya Krishna (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.
Date Thu, 24 Sep 2009 09:24:15 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759070#action_12759070
] 

V.V.Chaitanya Krishna commented on MAPREDUCE-1007:
--------------------------------------------------

The UI is not being displayed when a hierarchy of queues in built with atleast one container
queue (i.e., atleast one non-leaf queue). 
There is no check for occurrence of null pointer in CapacityTaskScheduler.getJobs(queueName)
and when the container queue's name is given as input parameter, it fails with NPE.

The above patch is to handle this issue. It also includes test cases written to check the
behaviour when a job is submitted to a container queue.

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed,
it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer
:) )

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