GitHub user zsxwing opened a pull request:
https://github.com/apache/spark/pull/7369
[SPARK-9012][WebUI]Escape Accumulators in the task table
If running the following codes, the task table will be broken because
accumulators aren't escaped.
```
val a = sc.accumulator(1, "<table>")
sc.parallelize(1 to 10).foreach(i => a += i)
```
Before this fix,
<img width="1348" alt="screen shot 2015-07-13 at 8 02 44 pm"
src="https://cloud.githubusercontent.com/assets/1000778/8649295/b17c491e-299b-11e5-97ee-4e6a64074c4f.png">
After this fix,
<img width="1355" alt="screen shot 2015-07-13 at 8 14 32 pm"
src="https://cloud.githubusercontent.com/assets/1000778/8649337/f9e9c9ec-299b-11e5-927e-35c0a2f897f5.png">
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zsxwing/spark SPARK-9012
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/7369.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #7369
----
commit a83c9b6b24838673e9169d534e80355fedbbd4e6
Author: zsxwing <[email protected]>
Date: 2015-07-13T12:11:46Z
Escape Accumulators in the task table
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]