Lavkesh Lahngir created YARN-3745:

             Summary: SerializedException should also try to instantiate 
internal exception with the default constructor
                 Key: YARN-3745
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Lavkesh Lahngir
            Assignee: Lavkesh Lahngir

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

Reply via email to