aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Chambers <bill@databricks.com>2016-12-12 13:33:17 +0000
committerSean Owen <sowen@cloudera.com>2016-12-12 13:33:17 +0000
commit70ffff21f769b149bee787fe5901d9844a4d97b8 (patch)
treecb8d0908995ed55c55261b27bedb3da35a92bc9f
parent83a42897ae90d84a54373db386a985e3e2d5903a (diff)
downloadspark-70ffff21f769b149bee787fe5901d9844a4d97b8.tar.gz
spark-70ffff21f769b149bee787fe5901d9844a4d97b8.tar.bz2
spark-70ffff21f769b149bee787fe5901d9844a4d97b8.zip
[DOCS][MINOR] Clarify Where AccumulatorV2s are Displayed
## What changes were proposed in this pull request? This PR clarifies where accumulators will be displayed. ## How was this patch tested? No testing. Please review http://spark.apache.org/contributing.html before opening a pull request. Author: Bill Chambers <bill@databricks.com> Author: anabranch <wac.chambers@gmail.com> Author: Bill Chambers <wchambers@ischool.berkeley.edu> Closes #16180 from anabranch/improve-acc-docs.
-rw-r--r--docs/programming-guide.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/programming-guide.md b/docs/programming-guide.md
index 4267b8cae8..353730c28f 100644
--- a/docs/programming-guide.md
+++ b/docs/programming-guide.md
@@ -1345,14 +1345,15 @@ therefore be efficiently supported in parallel. They can be used to implement co
MapReduce) or sums. Spark natively supports accumulators of numeric types, and programmers
can add support for new types.
-If accumulators are created with a name, they will be
-displayed in Spark's UI. This can be useful for understanding the progress of
-running stages (NOTE: this is not yet supported in Python).
+As a user, you can create named or unnamed accumulators. As seen in the image below, a named accumulator (in this instance `counter`) will display in the web UI for the stage that modifies that accumulator. Spark displays the value for each accumulator modified by a task in the "Tasks" table.
<p style="text-align: center;">
<img src="img/spark-webui-accumulators.png" title="Accumulators in the Spark UI" alt="Accumulators in the Spark UI" />
</p>
+Tracking accumulators in the UI can be useful for understanding the progress of
+running stages (NOTE: this is not yet supported in Python).
+
<div class="codetabs">
<div data-lang="scala" markdown="1">