[
https://issues.apache.org/jira/browse/MAPREDUCE-4896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13538116#comment-13538116
]
Alejandro Abdelnur commented on MAPREDUCE-4896:
-----------------------------------------------
* ClientRMService, instead doing a return in the middle of the method I'd
invert the condition of the IF and move the follow statements into the IF block.
* ResourceMgrDelegate, the change is adding a duplicate call
super.getQueueInfo(queueName), we should do:
{code}
org.apache.hadoop.yarn.api.records.QueueInfo queueInfo =
super.getQueueInfo(queueName);
return (queueInfo == null) ? null : TypeConverter.fromYarn(queueInfo, conf);
{code}
> "mapred queue -info" spits out ugly exception when queue does not exist
> -----------------------------------------------------------------------
>
> Key: MAPREDUCE-4896
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4896
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: client, scheduler
> Affects Versions: 2.0.2-alpha
> Reporter: Sandy Ryza
> Assignee: Sandy Ryza
> Attachments: MAPREDUCE-4896.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira