Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-25901][CORE] Use only one thread in BarrierTaskContext compani…
…on object ## What changes were proposed in this pull request? Now we use only one `timer` (and thus a backing thread) in `BarrierTaskContext` companion object, and the objects can add `timerTasks` to that `timer`. ## How was this patch tested? This was tested manually by generating logs and seeing that they look the same as ones before, namely, that is, a partition waiting on another partition for 5seconds generates 4-5 log messages when the frequency of logging is set to 1second. Closes #22912 from yogeshg/thread. Authored-by: Yogesh Garg <1059168+yogeshg@users.noreply.github.com> Signed-off-by: Xingbo Jiang <xingbo.jiang@databricks.com>
- Loading branch information