From 1070031842404ffebc98c51e5f1d1dfb87e45d16 Mon Sep 17 00:00:00 2001 From: Tom Graves Date: Thu, 3 Sep 2015 09:41:50 -0500 Subject: [PATCH] [SPARK-10432] spark.port.maxRetries documentation is unclear --- docs/configuration.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index fb0315ce7c3cc..29a36bd67f28b 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -1015,7 +1015,11 @@ Apart from these, the following properties are also available, and may be useful spark.port.maxRetries 16 - Default maximum number of retries when binding to a port before giving up. + Maximum number of retries when binding to a port before giving up. + When a port is given a specific value (non 0), each subsequent retry will + increment the port used in the previous attempt by 1 before retrying. This + essentially allows it to try a range of ports from the start port specified + to port + maxRetries.