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 "Lavkesh Lahngir (JIRA)" <ji...@apache.org> on 2015/06/03 13:09:49 UTC

[jira] [Updated] (YARN-3745) SerializedException should also try to instantiate internal exception with the default constructor

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

Lavkesh Lahngir updated YARN-3745:
----------------------------------
    Attachment: YARN-3745.patch

> SerializedException should also try to instantiate internal exception with the default constructor
> --------------------------------------------------------------------------------------------------
>
>                 Key: YARN-3745
>                 URL: https://issues.apache.org/jira/browse/YARN-3745
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Lavkesh Lahngir
>            Assignee: Lavkesh Lahngir
>         Attachments: YARN-3745.patch
>
>
> While deserialising a SerializedException it tries to create internal exception in instantiateException() with cn = cls.getConstructor(String.class).
> if cls does not has a constructor with String parameter it throws Nosuchmethodexception
> for example ClosedChannelException class.  
> We should also try to instantiate exception with default constructor so that inner exception can to propagated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)