[ 
https://issues.apache.org/jira/browse/YARN-1309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinod Kumar Vavilapalli resolved YARN-1309.
-------------------------------------------

    Resolution: Invalid

All YARN protocols only allow IOException for the sake of RPC layer exceptions. 
Exceptions coming from the application layer (as opposed to RPC layer) should 
all be YarnExceptions. See the discussion at YARN-142.

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

Reply via email to