hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-628) Fix YarnException unwrapping
Date Fri, 17 May 2013 05:55:25 GMT

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

Vinod Kumar Vavilapalli commented on YARN-628:

I also didn't like it, tried a couple of solutions, none of them work. The only solution is
creating a union (IOException, YarnRemoteException), return the union and make the callers
throw one of them explicitly.
> Fix YarnException unwrapping
> ----------------------------
>                 Key: YARN-628
>                 URL: https://issues.apache.org/jira/browse/YARN-628
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>    Affects Versions: 2.0.4-alpha
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>             Fix For: 2.0.5-beta
>         Attachments: YARN-628.txt, YARN-628.txt, YARN-628.txt, YARN-628.txt.2
> Unwrapping of YarnRemoteExceptions (currently in YarnRemoteExceptionPBImpl, RPCUtil post
YARN-625) is broken, and often ends up throwin UndeclaredThrowableException. This needs to
be fixed.

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