You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:36:04 UTC

[jira] [Resolved] (SPARK-8982) Worker hostnames not showing in Master web ui when launched with start-slaves.sh

     [ https://issues.apache.org/jira/browse/SPARK-8982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-8982.
---------------------------------
    Resolution: Incomplete

> 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
>              Labels: bulk-closed
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org