Skip to content

Commit cc91e21

Browse files
Luc Bourlierrxin
Luc Bourlier
authored andcommitted
[SPARK-12805][MESOS] Fixes documentation on Mesos run modes
The default run has changed, but the documentation didn't fully reflect the change. Author: Luc Bourlier <luc.bourlier@typesafe.com> Closes #10740 from skyluc/issue/mesos-modes-doc.
1 parent 63eee86 commit cc91e21

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/running-on-mesos.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ where each application gets more or fewer machines as it ramps up and down, but
202202
additional overhead in launching each task. This mode may be inappropriate for low-latency
203203
requirements like interactive queries or serving web requests.
204204

205-
To run in coarse-grained mode, set the `spark.mesos.coarse` property to false in your
205+
To run in fine-grained mode, set the `spark.mesos.coarse` property to false in your
206206
[SparkConf](configuration.html#spark-properties):
207207

208208
{% highlight scala %}
@@ -266,13 +266,11 @@ See the [configuration page](configuration.html) for information on Spark config
266266
<tr><th>Property Name</th><th>Default</th><th>Meaning</th></tr>
267267
<tr>
268268
<td><code>spark.mesos.coarse</code></td>
269-
<td>false</td>
269+
<td>true</td>
270270
<td>
271-
If set to <code>true</code>, runs over Mesos clusters in
272-
<a href="running-on-mesos.html#mesos-run-modes">"coarse-grained" sharing mode</a>,
273-
where Spark acquires one long-lived Mesos task on each machine instead of one Mesos task per
274-
Spark task. This gives lower-latency scheduling for short queries, but leaves resources in use
275-
for the whole duration of the Spark job.
271+
If set to <code>true</code>, runs over Mesos clusters in "coarse-grained" sharing mode, where Spark acquires one long-lived Mesos task on each machine.
272+
If set to <code>false</code>, runs over Mesos cluster in "fine-grained" sharing mode, where one Mesos task is created per Spark task.
273+
Detailed information in <a href="running-on-mesos.html#mesos-run-modes">'Mesos Run Modes'</a>.
276274
</td>
277275
</tr>
278276
<tr>

0 commit comments

Comments
 (0)