Github user jerryshao commented on the pull request:
https://github.com/apache/spark/pull/5060#issuecomment-96460443
Hi @tdas , I agree with you that only port in enough, no need to track the
host. But we could only save the port when user explicitly set it. Port number
0 will not be stayed after `SparkEnv` is initialized, as you see
[here](https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/SparkEnv.scala#L250),
so we shouldn't save this port number (which is set by `SparkEnv`).
---
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]