hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3745) SerializedException should also try to instantiate internal exception with the default constructor
Date Thu, 25 Jun 2015 15:34:10 GMT

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

Hudson commented on YARN-3745:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #2167 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/2167/])
YARN-3745. SerializedException should also try to instantiate internal (devaraj: rev b381f88c71d18497deb35039372b1e9715d2c038)
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/api/records/impl/pb/SerializedExceptionPBImpl.java
* hadoop-yarn-project/CHANGES.txt
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/api/records/impl/pb/TestSerializedExceptionPBImpl.java


> 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
>             Fix For: 2.8.0
>
>         Attachments: YARN-3745.1.patch, YARN-3745.2.patch, YARN-3745.3.patch, 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)

Mime
View raw message