GitHub user marmbrus opened a pull request:
https://github.com/apache/spark/pull/3893
[SPARK-5078] Optionally read from SPARK_LOCAL_HOSTNAME
Current spark lets you set the ip address using SPARK_LOCAL_IP, but then
this is given to akka after doing a reverse DNS lookup. This makes it difficult
to run spark in Docker. You can already change the hostname that is used
programmatically, but it would be nice to be able to do this with an
environment variable as well.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/marmbrus/spark localHostnameEnv
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/3893.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3893
----
commit 85045b626dc08d5e909bd756484504b1c1bd4917
Author: Michael Armbrust <[email protected]>
Date: 2015-01-05T01:10:43Z
Optionally read from SPARK_LOCAL_HOSTNAME
----
---
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]