Skip to content

Commit 49aff7b

Browse files
Tom GravesAndrew Or
authored andcommitted
[SPARK-10432] spark.port.maxRetries documentation is unclear
Author: Tom Graves <[email protected]> Closes #8585 from tgravescs/SPARK-10432.
1 parent af0e312 commit 49aff7b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/configuration.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,11 @@ Apart from these, the following properties are also available, and may be useful
10151015
<td><code>spark.port.maxRetries</code></td>
10161016
<td>16</td>
10171017
<td>
1018-
Default maximum number of retries when binding to a port before giving up.
1018+
Maximum number of retries when binding to a port before giving up.
1019+
When a port is given a specific value (non 0), each subsequent retry will
1020+
increment the port used in the previous attempt by 1 before retrying. This
1021+
essentially allows it to try a range of ports from the start port specified
1022+
to port + maxRetries.
10191023
</td>
10201024
</tr>
10211025
<tr>

0 commit comments

Comments
 (0)