[ 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)