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

Sandy Ryza commented on MAPREDUCE-4896:
---------------------------------------

Ah, I was testing with the fair scheduler.  I just tried it with the capacity 
scheduler and got the trace you mentioned.  This is because the capacity 
scheduler's getQueueInfo throws an IOException when the queue isn't found, and 
the fair scheduler's returns null.  Does it make more sense for me to modify 
the capacity scheduler to return null or to catch the exception?  My 
inclination would be to do the former because a non-existent queue isn't 
related to IO.

Also, I'll add a test case.
                
> "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-1.patch, 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

Reply via email to