You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Xuan Gong (JIRA)" <ji...@apache.org> on 2013/05/01 01:50:16 UTC

[jira] [Commented] (YARN-629) Make YarnRemoteException not be rooted at IOException

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

Xuan Gong commented on YARN-629:
--------------------------------

1. use "extends Exception" instead of "extends IOException" at YarnRemoteException.java
2. Change the YarnRemoteExceptionPBImpl::unwrapAndThrowException() to explicitly return YarnRemoteException object. 
3. throw YarnRemoteException and IOException instead of only throwing IOException, because YarnRemoteException is not subclass of IOException.
                
> Make YarnRemoteException not be rooted at IOException
> -----------------------------------------------------
>
>                 Key: YARN-629
>                 URL: https://issues.apache.org/jira/browse/YARN-629
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>
> After HADOOP-9343, it should be possible for YarnException to not be rooted at IOException

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