[
https://issues.apache.org/jira/browse/SPARK-8982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14622688#comment-14622688
]
Apache Spark commented on SPARK-8982:
-------------------------------------
User 'bdzimmer' has created a pull request for this issue:
https://github.com/apache/spark/pull/7345
> 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: [email protected]
For additional commands, e-mail: [email protected]