Repository: spark Updated Branches: refs/heads/branch-1.5 a2b0fee7b -> 646155e6e
[SPARK-10695] [DOCUMENTATION] [MESOS] Fixing incorrect value informati⦠â¦on for spark.mesos.constraints parameter. Author: Akash Mishra <akash.mishr...@gmail.com> Closes #8816 from SleepyThread/constraint-fix. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/646155e6 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/646155e6 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/646155e6 Branch: refs/heads/branch-1.5 Commit: 646155e6ecafc1e0a7c8e6d1457fe64004bcf0a4 Parents: a2b0fee Author: Akash Mishra <akash.mishr...@gmail.com> Authored: Tue Sep 22 00:14:27 2015 -0700 Committer: Andrew Or <and...@databricks.com> Committed: Tue Sep 22 00:15:43 2015 -0700 ---------------------------------------------------------------------- docs/running-on-mesos.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/646155e6/docs/running-on-mesos.md ---------------------------------------------------------------------- diff --git a/docs/running-on-mesos.md b/docs/running-on-mesos.md index 477d5a5..16cee01 100644 --- a/docs/running-on-mesos.md +++ b/docs/running-on-mesos.md @@ -187,10 +187,10 @@ using `conf.set("spark.cores.max", "10")` (for example). You may also make use of `spark.mesos.constraints` to set attribute based constraints on mesos resource offers. By default, all resource offers will be accepted. {% highlight scala %} -conf.set("spark.mesos.constraints", "tachyon=true;us-east-1=false") +conf.set("spark.mesos.constraints", "tachyon:true;us-east-1:false") {% endhighlight %} -For example, Let's say `spark.mesos.constraints` is set to `tachyon=true;us-east-1=false`, then the resource offers will be checked to see if they meet both these constraints and only then will be accepted to start new executors. +For example, Let's say `spark.mesos.constraints` is set to `tachyon:true;us-east-1:false`, then the resource offers will be checked to see if they meet both these constraints and only then will be accepted to start new executors. # Mesos Docker Support --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org