diff options
author | haitao.yao <yao.erix@gmail.com> | 2013-01-24 10:27:02 +0800 |
---|---|---|
committer | haitao.yao <yao.erix@gmail.com> | 2013-01-24 10:27:02 +0800 |
commit | 97e242067b9d75abd88543c759d8fc0aebd9eb8c (patch) | |
tree | 550ebeecf7d7edc0b2825561db0e5c835eb16512 /docs/scala-programming-guide.md | |
parent | df9ae8a74e2d42f627a82f9b0a8123a4d54b1d09 (diff) | |
parent | 548856a22403f6a76d67570db6fa448b2a0e5ad3 (diff) | |
download | spark-97e242067b9d75abd88543c759d8fc0aebd9eb8c.tar.gz spark-97e242067b9d75abd88543c759d8fc0aebd9eb8c.tar.bz2 spark-97e242067b9d75abd88543c759d8fc0aebd9eb8c.zip |
Merge branch 'mesos'
Diffstat (limited to 'docs/scala-programming-guide.md')
-rw-r--r-- | docs/scala-programming-guide.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/scala-programming-guide.md b/docs/scala-programming-guide.md index 7350eca837..301b330a79 100644 --- a/docs/scala-programming-guide.md +++ b/docs/scala-programming-guide.md @@ -301,7 +301,8 @@ We recommend going through the following process to select one: * Use the replicated storage levels if you want fast fault recovery (e.g. if using Spark to serve requests from a web application). *All* the storage levels provide full fault tolerance by recomputing lost data, but the replicated ones let you continue running tasks on the RDD without waiting to recompute a lost partition. - + +If you want to define your own storage level (say, with replication factor of 3 instead of 2), then use the function factor method `apply()` of the [`StorageLevel`](api/core/index.html#spark.storage.StorageLevel$) singleton object. # Shared Variables |