Repository: spark
Updated Branches:
  refs/heads/master 299eb04ba -> b512f04f8


[SPARK-17880][DOC] The url linking to `AccumulatorV2` in the document is 
incorrect.

## What changes were proposed in this pull request?

In `programming-guide.md`, the url which links to `AccumulatorV2` says 
`api/scala/index.html#org.apache.spark.AccumulatorV2` but 
`api/scala/index.html#org.apache.spark.util.AccumulatorV2` is correct.

## How was this patch tested?
manual test.

Author: Kousuke Saruta <saru...@oss.nttdata.co.jp>

Closes #15439 from sarutak/SPARK-17880.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/b512f04f
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/b512f04f
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/b512f04f

Branch: refs/heads/master
Commit: b512f04f8e546843d5a3f35dcc6b675b5f4f5bc0
Parents: 299eb04
Author: Kousuke Saruta <saru...@oss.nttdata.co.jp>
Authored: Tue Oct 11 22:36:57 2016 -0700
Committer: Reynold Xin <r...@databricks.com>
Committed: Tue Oct 11 22:36:57 2016 -0700

----------------------------------------------------------------------
 docs/programming-guide.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/b512f04f/docs/programming-guide.md
----------------------------------------------------------------------
diff --git a/docs/programming-guide.md b/docs/programming-guide.md
index 74d5ee1..20b4bee 100644
--- a/docs/programming-guide.md
+++ b/docs/programming-guide.md
@@ -1373,7 +1373,7 @@ res2: Long = 10
 {% endhighlight %}
 
 While this code used the built-in support for accumulators of type Long, 
programmers can also
-create their own types by subclassing 
[AccumulatorV2](api/scala/index.html#org.apache.spark.AccumulatorV2).
+create their own types by subclassing 
[AccumulatorV2](api/scala/index.html#org.apache.spark.util.AccumulatorV2).
 The AccumulatorV2 abstract class has several methods which need to override: 
 `reset` for resetting the accumulator to zero, and `add` for add anothor value 
into the accumulator, `merge` for merging another same-type accumulator into 
this one. Other methods need to override can refer to scala API document. For 
example, supposing we had a `MyVector` class
 representing mathematical vectors, we could write:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to