[
https://issues.apache.org/jira/browse/MAPREDUCE-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
V.V.Chaitanya Krishna updated MAPREDUCE-1082:
---------------------------------------------
Attachment: MAPREDUCE-1082-4.patch
While modifying the test case to implement the above comments, it was found
that QueueInfo.readFields() recursively creates child objects as QueueInfo
instances. This would lead to error while casting to JobQueueInfo in
JobQueueInfo.getChildren().
Uploading patch with this handled.
> 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, MAPREDUCE-1082-4.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.