Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-23484][SS] Fix possible race condition in KafkaContinuousReader
## What changes were proposed in this pull request? var `KafkaContinuousReader.knownPartitions` should be threadsafe as it is accessed from multiple threads - the query thread at the time of reader factory creation, and the epoch tracking thread at the time of `needsReconfiguration`. ## How was this patch tested? Existing tests. Author: Tathagata Das <tathagata.das1565@gmail.com> Closes apache#20655 from tdas/SPARK-23484.
- Loading branch information