You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ben Zimmer (JIRA)" <ji...@apache.org> on 2015/07/10 19:41:04 UTC
[jira] [Created] (SPARK-8982) Worker hostnames not showing in
Master web ui when launched with start-slaves.sh
Ben Zimmer created SPARK-8982:
---------------------------------
Summary: Worker hostnames not showing in Master web ui when launched with start-slaves.sh
Key: SPARK-8982
URL: https://issues.apache.org/jira/browse/SPARK-8982
Project: Spark
Issue Type: Bug
Components: Spark Core
Affects Versions: 1.4.0
Reporter: Ben Zimmer
Priority: Minor
If a "--host" argument is not provided to Worker, WorkerArguments uses Utils.localHostName to find the host name. SPARK-6440 changed the functionality of Utils.localHostName to retrieve the local IP address instead of host name.
Since start-slave.sh does not provide the "--host" argument, clusters started with start-slaves.sh now show IP addresses instead of hostnames in the Master web UI. This is inconvenient when starting and debugging small clusters.
A simple fix would be to find the local machine's hostname in start-slave.sh and pass it as the "--host" argument.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org