Skip to content

Commit bd81a3a

Browse files
committed
SPARK-4770. [DOC] [YARN] spark.scheduler.minRegisteredResourcesRatio documented default is incorrect for YARN
1 parent f5801e8 commit bd81a3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -939,11 +939,11 @@ Apart from these, the following properties are also available, and may be useful
939939
</tr>
940940
</tr>
941941
<td><code>spark.scheduler.minRegisteredResourcesRatio</code></td>
942-
<td>0</td>
942+
<td>0.0 for Mesos and Standalone mode, 0.8 for YARN</td>
943943
<td>
944944
The minimum ratio of registered resources (registered resources / total expected resources)
945945
(resources are executors in yarn mode, CPU cores in standalone mode)
946-
to wait for before scheduling begins. Specified as a double between 0 and 1.
946+
to wait for before scheduling begins. Specified as a double between 0.0 and 1.0.
947947
Regardless of whether the minimum ratio of resources has been reached,
948948
the maximum amount of time it will wait before scheduling begins is controlled by config
949949
<code>spark.scheduler.maxRegisteredResourcesWaitingTime</code>.

0 commit comments

Comments
 (0)