-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-7086][Deploy]Do not retry when public service start on port #5657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Test build #30828 has finished for PR 5657 at commit
|
|
Jenkins, retest this please |
|
Test build #30835 has finished for PR 5657 at commit
|
|
This is related to #5575. I am not sure this is something we must force on users. There could be decent reasons to retry binding, and it doesn't 'hurt' except to waste a few tries. This is also a little arbitrary to change the behavior on just a few services. I don't think we should do this. |
|
Considering one condition: user submit apps to master with a port config, let's say I know that retrying policy decrease probability of failing when launching master but in the meantime it increase the chance for others to connect it. Besides I have taken a look at start-all.sh, and it pass one specify port to slave node to launch worker. Obviously worker could not take to master when master take a different port with the passed one. @srowen I thought it must make some trouble if we take that retries on "public" port unless we found other way to solve it. |
|
This change merely causes it to never retry. It doesn't cause the master to use another port, right? That would be bad for the reason you give, but this is changing the retry property. |
|
If retry, then master will use another port. We can see it from
|
|
Ah, we don't have this change committed yet: #3314 (Or, a variant on this.) The right-er way to fix this is to be able to express a range of ports, which might only include 1 port, in which case there would be no more retries anyway. I suggesting focusing on resolving SPARK-4449 as a way to fix this. |
|
After taking a look at #3314 and discussion with @scwf offline, we both think the "speifty port range for each" idea is better for issue SPARK-7086 and SPARK-4449. So I will close this and keep track at #3314. @srowen Thanks for your comments and nice idea. 😃 |
https://issues.apache.org/jira/browse/SPARK-7086
I just fix it in master side and maybe there are more to fix?
//cc @andrewor14