diff options
author | Mario Pastorelli <pastorelli.mario@gmail.com> | 2014-09-09 00:51:28 -0700 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2014-09-09 00:51:28 -0700 |
commit | c419e4f1bd2a50c558179b7118c3fe75a94b7a5b (patch) | |
tree | af7f0d52257f2bc4a7adb9cc1669eeabcf1a1592 | |
parent | ce5cb325877e3fa8281ffe2076f93b4124ed0eb5 (diff) | |
download | spark-c419e4f1bd2a50c558179b7118c3fe75a94b7a5b.tar.gz spark-c419e4f1bd2a50c558179b7118c3fe75a94b7a5b.tar.bz2 spark-c419e4f1bd2a50c558179b7118c3fe75a94b7a5b.zip |
[Docs] actorStream storageLevel default is MEMORY_AND_DISK_SER_2
Comment of the storageLevel param of actorStream says that it defaults to memory-only while the default is MEMORY_AND_DISK_SER_2.
Author: Mario Pastorelli <pastorelli.mario@gmail.com>
Closes #2319 from melrief/master and squashes the following commits:
7b6ce68 [Mario Pastorelli] [Docs] actorStream storageLevel default is MEMORY_AND_DISK_SER_2
-rw-r--r-- | streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala b/streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala index 101cec1c7a..457e8ab28e 100644 --- a/streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala +++ b/streaming/src/main/scala/org/apache/spark/streaming/StreamingContext.scala @@ -240,7 +240,7 @@ class StreamingContext private[streaming] ( * Find more details at: http://spark.apache.org/docs/latest/streaming-custom-receivers.html * @param props Props object defining creation of the actor * @param name Name of the actor - * @param storageLevel RDD storage level. Defaults to memory-only. + * @param storageLevel RDD storage level (default: StorageLevel.MEMORY_AND_DISK_SER_2) * * @note An important point to note: * Since Actor may exist outside the spark framework, It is thus user's responsibility |