Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-23608][CORE][WEBUI] Add synchronization in SHS between attachS…
…parkUI and detachSparkUI functions to avoid concurrent modification issue to Jetty Handlers Jetty handlers are dynamically attached/detached while SHS is running. But the attach and detach operations might be taking place at the same time due to the async in load/clear in Guava Cache. ## What changes were proposed in this pull request? Add synchronization between attachSparkUI and detachSparkUI in SHS. ## How was this patch tested? With this patch, the jetty handlers missing issue never happens again in our production cluster SHS. Author: Ye Zhou <yezhou@linkedin.com> Closes #20744 from zhouyejoe/SPARK-23608. (cherry picked from commit 3675af7) Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
- Loading branch information