diff options
author | Akash Mishra <akash.mishra20@gmail.com> | 2015-09-22 00:14:27 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2015-09-22 00:14:27 -0700 |
commit | 0bd0e5bed2176b119b3ada590993e153757ea09b (patch) | |
tree | 32914c1d3e77872300467e4b9965a320338f8d50 | |
parent | f3b727c801408b1cd50e5d9463f2fe0fce654a16 (diff) | |
download | spark-0bd0e5bed2176b119b3ada590993e153757ea09b.tar.gz spark-0bd0e5bed2176b119b3ada590993e153757ea09b.tar.bz2 spark-0bd0e5bed2176b119b3ada590993e153757ea09b.zip |
[SPARK-10695] [DOCUMENTATION] [MESOS] Fixing incorrect value informati…
…on for spark.mesos.constraints parameter.
Author: Akash Mishra <akash.mishra20@gmail.com>
Closes #8816 from SleepyThread/constraint-fix.
-rw-r--r-- | docs/running-on-mesos.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/running-on-mesos.md b/docs/running-on-mesos.md index 460a66f37d..ec5a44d792 100644 --- a/docs/running-on-mesos.md +++ b/docs/running-on-mesos.md @@ -189,10 +189,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 |