Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
IN SerializedExceptionPBImpl deserialize() method
Class classType = null; if (YarnException.class.isAssignableFrom(realClass)) { classType = YarnException.class; } else if (IOException.class.isAssignableFrom(realClass)) { classType = IOException.class; } else if (RuntimeException.class.isAssignableFrom(realClass)) { classType = RuntimeException.class; } else { classType = Exception.class; } return instantiateException(realClass.asSubclass(classType), getMessage(), cause == null ? null : cause.deSerialize()); }
if realClass is a subclass of java.lang.Error deSerialize() throws ClassCastException.
in the last else statement classType should be equal to Trowable.class instead of Exception.class.
Attachments
Attachments
Issue Links
- relates to
-
YARN-3074 Nodemanager dies when localizer runner tries to write to a full disk
- Closed