diff options
author | zsxwing <zsxwing@gmail.com> | 2015-04-13 12:21:29 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-04-13 12:21:29 +0100 |
commit | 14ce3ea2c9546c58203af85aceb76b1bfc1f650a (patch) | |
tree | 6e95e4030e0e67ea8307239c375551cdec09e3ae /dev/run-tests | |
parent | cadd7d72c52ccc8d2def405a77dcf807fb5c17c2 (diff) | |
download | spark-14ce3ea2c9546c58203af85aceb76b1bfc1f650a.tar.gz spark-14ce3ea2c9546c58203af85aceb76b1bfc1f650a.tar.bz2 spark-14ce3ea2c9546c58203af85aceb76b1bfc1f650a.zip |
[SPARK-6860][Streaming][WebUI] Fix the possible inconsistency of StreamingPage
Because `StreamingPage.render` doesn't hold the `listener` lock when generating the content, the different parts of content may have some inconsistent values if `listener` updates its status at the same time. And it will confuse people.
This PR added `listener.synchronized` to make sure we have a consistent view of StreamingJobProgressListener when creating the content.
Author: zsxwing <zsxwing@gmail.com>
Closes #5470 from zsxwing/SPARK-6860 and squashes the following commits:
cec6f92 [zsxwing] Add missing 'synchronized' in StreamingJobProgressListener
7182498 [zsxwing] Add synchronized to make sure we have a consistent view of StreamingJobProgressListener when creating the content
Diffstat (limited to 'dev/run-tests')
0 files changed, 0 insertions, 0 deletions