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

Hemanth Yamijala commented on MAPREDUCE-1082:
---------------------------------------------

Looking close. Some final comments:
- We are assuming the job statuses cannot be null in QueueInfo. I think we 
should check this in setJobStatuses. If it is null, we can set an empty array.
- The test case should call APIs like setRootQueues. getQueue is not passing 
through the code path change you made in JobTracker.getQueueInfoArray

> Command line UI for queues' information is broken with hierarchical queues.
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1082
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1082
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client, jobtracker
>    Affects Versions: 0.21.0
>            Reporter: Vinod K V
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1082-1.txt, MAPREDUCE-1082-2.patch, 
> MAPREDUCE-1082-3.patch
>
>
> When the command "./bin/mapred --config ~/tmp/conf/ queue -list" is run, it 
> just hangs. I can see the following in the JT logs:
> {code}
> 2009-10-08 13:19:26,762 INFO org.apache.hadoop.ipc.Server: IPC Server handler 
> 1 on 55555 caught: java.lang.NullPointerException
>         at org.apache.hadoop.mapreduce.QueueInfo.write(QueueInfo.java:217)
>         at org.apache.hadoop.mapreduce.QueueInfo.write(QueueInfo.java:223)
>         at 
> org.apache.hadoop.io.ObjectWritable.writeObject(ObjectWritable.java:159)
>         at 
> org.apache.hadoop.io.ObjectWritable.writeObject(ObjectWritable.java:126)
>         at org.apache.hadoop.io.ObjectWritable.write(ObjectWritable.java:70)
>         at org.apache.hadoop.ipc.Server.setupResponse(Server.java:1074)
>         at org.apache.hadoop.ipc.Server.access$2400(Server.java:77)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:983)
> {code}
> Same is the case with "./bin/mapred --config ~/tmp/conf/ queue -info 
> <any-container-queue>"

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

Reply via email to