hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik Kambatla (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1309) AdminService unnecessarily wraps an IOException into a YarnException
Date Tue, 15 Oct 2013 21:53:52 GMT

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

Karthik Kambatla commented on YARN-1309:
----------------------------------------

Thanks [~vinodkv]. Makes sense. IIUC, on YARN-1068, even the RMHAProtocolService should throw
YarnExceptions and not IOException. 

> AdminService unnecessarily wraps an IOException into a YarnException
> --------------------------------------------------------------------
>
>                 Key: YARN-1309
>                 URL: https://issues.apache.org/jira/browse/YARN-1309
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>    Affects Versions: 2.2.0
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>
> ResourceManagerAdministrationProtocol allows methods to throw an IOException. Still,
AdminService wraps IOExceptions as YarnExceptions before throwing them.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message