Github user WangTaoTheTonic commented on the pull request:
https://github.com/apache/spark/pull/3841#issuecomment-68421043
After this patch, the logs of running 3 application with
`spark.port.maxRetries=1` were:
>14/12/31 11:02:06 INFO Utils: Starting service 'SparkUI' on port 23000
with maximum 1 retries.
14/12/31 11:02:06 INFO Utils: Successfully started service 'SparkUI' on
port 23000.
14/12/31 11:02:06 INFO SparkUI: Started SparkUI at
http://dc1-rack1-host2:23000
>14/12/31 11:02:11 INFO Utils: Starting service 'SparkUI' on port 23000
with maximum 1 retries.
14/12/31 11:02:11 WARN Utils: Service 'SparkUI' could not bind on port
23000. Attempting port 23001.
14/12/31 11:02:11 INFO Utils: Successfully started service 'SparkUI' on
port 23001.
14/12/31 11:02:11 INFO SparkUI: Started SparkUI at
http://dc1-rack1-host2:23001
ã14/12/31 11:02:28 INFO Utils: Starting service 'SparkUI' on port 23000
with maximum 1 retries.
14/12/31 11:02:28 WARN Utils: Service 'SparkUI' could not bind on port
23000. Attempting port 23001.
14/12/31 11:02:28 ERROR SparkUI: Failed to bind SparkUI
java.net.BindException: Address already in use: Service 'SparkUI' failed
after 1 retries!
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:344)
at sun.nio.ch.Net.bind(Net.java:336)
And I oberved other port on driver and executors, they acted as expected
too.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]