aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorzsxwing <zsxwing@gmail.com>2015-04-13 12:21:29 +0100
committerSean Owen <sowen@cloudera.com>2015-04-13 12:21:29 +0100
commit14ce3ea2c9546c58203af85aceb76b1bfc1f650a (patch)
tree6e95e4030e0e67ea8307239c375551cdec09e3ae /sbin
parentcadd7d72c52ccc8d2def405a77dcf807fb5c17c2 (diff)
downloadspark-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 'sbin')
0 files changed, 0 insertions, 0 deletions