hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun C Murthy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4896) "mapred queue -info" spits out ugly exception when queue does not exist
Date Thu, 10 Jan 2013 04:20:12 GMT

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

Arun C Murthy commented on MAPREDUCE-4896:

bq. This is because the capacity scheduler's getQueueInfo throws an IOException when the queue
isn't found, and the fair scheduler's returns null.

That seems like bad beaviour on part of FS - returning null is a silent failure, an exception
needs to be thrown in error cases.
> "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

View raw message