aboutsummaryrefslogtreecommitdiff
path: root/streaming/src
diff options
context:
space:
mode:
authorJacek Laskowski <jacek@japila.pl>2016-04-26 11:51:12 +0100
committerSean Owen <sowen@cloudera.com>2016-04-26 11:51:12 +0100
commitb208229ba1768ee72eae7b6b0da0ac9ccff3be62 (patch)
tree91f9b31a53a04b246695f54b64a2142f34ad7dd7 /streaming/src
parentde6e633420aba1fe5d806a2725a95e610699ae7d (diff)
downloadspark-b208229ba1768ee72eae7b6b0da0ac9ccff3be62.tar.gz
spark-b208229ba1768ee72eae7b6b0da0ac9ccff3be62.tar.bz2
spark-b208229ba1768ee72eae7b6b0da0ac9ccff3be62.zip
[MINOR][DOCS] Minor typo fixes
## What changes were proposed in this pull request? Minor typo fixes (too minor to deserve separate a JIRA) ## How was this patch tested? local build Author: Jacek Laskowski <jacek@japila.pl> Closes #12469 from jaceklaskowski/minor-typo-fixes.
Diffstat (limited to 'streaming/src')
-rw-r--r--streaming/src/main/scala/org/apache/spark/streaming/dstream/PairDStreamFunctions.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/streaming/src/main/scala/org/apache/spark/streaming/dstream/PairDStreamFunctions.scala b/streaming/src/main/scala/org/apache/spark/streaming/dstream/PairDStreamFunctions.scala
index d6ff96e1fc..b6394e36b5 100644
--- a/streaming/src/main/scala/org/apache/spark/streaming/dstream/PairDStreamFunctions.scala
+++ b/streaming/src/main/scala/org/apache/spark/streaming/dstream/PairDStreamFunctions.scala
@@ -418,7 +418,7 @@ class PairDStreamFunctions[K, V](self: DStream[(K, V)])
/**
* Return a new "state" DStream where the state for each key is updated by applying
* the given function on the previous state of the key and the new values of the key.
- * org.apache.spark.Partitioner is used to control the partitioning of each RDD.
+ * [[org.apache.spark.Partitioner]] is used to control the partitioning of each RDD.
* @param updateFunc State update function. If `this` function returns None, then
* corresponding state key-value pair will be eliminated.
* @param partitioner Partitioner for controlling the partitioning of each RDD in the new
@@ -439,7 +439,7 @@ class PairDStreamFunctions[K, V](self: DStream[(K, V)])
/**
* Return a new "state" DStream where the state for each key is updated by applying
* the given function on the previous state of the key and the new values of each key.
- * org.apache.spark.Partitioner is used to control the partitioning of each RDD.
+ * [[org.apache.spark.Partitioner]] is used to control the partitioning of each RDD.
* @param updateFunc State update function. Note, that this function may generate a different
* tuple with a different key than the input key. Therefore keys may be removed
* or added in this way. It is up to the developer to decide whether to