Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-10128] [STREAMING] Used correct classloader to deserialize WAL…
… data Recovering Kinesis sequence numbers from WAL leads to classnotfoundexception because the ObjectInputStream does not use the correct classloader and the SequenceNumberRanges class (in streaming-kinesis-asl package) cannot be found (added through spark-submit) while deserializing. The solution is to use `Thread.currentThread().getContextClassLoader` while deserializing. Author: Tathagata Das <[email protected]> Closes apache#8328 from tdas/SPARK-10128 and squashes the following commits: f19b1c2 [Tathagata Das] Used correct classloader to deserialize WAL data
- Loading branch information