spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Yip <>
Subject Catching InvalidClassException in sc.objectFile
Date Thu, 19 Mar 2015 22:45:51 GMT

I have persisted a RDD[T] to disk through "saveAsObjectFile". Then I
changed the implementation of T. When I read the file with sc.objectFile
using the new binary, I got the exception of,
which is expected.

I try to catch this error via SparkException in the driver program.
However, both getCause() and getSuppressed() are empty.

What is the recommended way of catching this exception?



View raw message