Github user srowen commented on the pull request:
https://github.com/apache/spark/pull/5722#issuecomment-137257579
@vanzin you're arguing that you either want to retry all ports N times, or
not at all (N=0). That does describe a lot of use cases, but it wouldn't let
you, say, let some ports take on a fixed value and not others. If you mean, let
N vary per port, yes, that seems to me exactly what a range is. 9999 or
[9999,9999] means 9999 + 0 retries; [9999,10001] means 9999 + 2 retries.
Sure, it's an open question: how bad does anyone need to do that?
@andrewor14 yes this came up again for exactly this reason -- someone
really wanted to run the web UIs on port 80 (can't find the JIRA just now). I
also wondered if this is good practice; not sure it is. There's a separate
issue right now that the logic won't allow you to do this. Even if that were
fixed you're faced with having to use fixed ports for all ports if any of them
(like port 80) must be fixed.
I'm pretty neutral -- if this were being written from scratch I'd push for
range syntax, but not sure now just given the code change needed.
---
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]