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

Siddharth Seth updated YARN-634:
--------------------------------

    Attachment: YARN-634.txt

Patch pulls in changes from an older patch on MR-4067.
Changes
- Effectively moved YarnRemoteExceptionPBImpl over to SerializedException.
- SerializedException is a record instead of being an exception, and a 
mechanism to wrap exceptions over the wire.
- Removes all the ExceptionFactory code
- Changes LocalizationProtocol to use SerializedException instead of 
YarnRemoteException to send Localization exceptions from the localizer to the NM
- Simplifies YarnRemoteException - since it no longer needs to be PB backed 
(fixes YARN-627)
- Gets rid of yarnprototunnelrpc.proto, which has not been used since YARN 
moved over to using the ProtobufRPCEngine from common. (I can post this as a 
separate jira if that simplifies this patch)
                
> Introduce a SerializedException
> -------------------------------
>
>                 Key: YARN-634
>                 URL: https://issues.apache.org/jira/browse/YARN-634
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.0.4-alpha
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>         Attachments: YARN-634.txt
>
>
> LocalizationProtocol sends an exception over the wire. This currently uses 
> YarnRemoteException. Post YARN-627, this needs to be changed and a new 
> serialized exception is required.

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

Reply via email to