You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/09/15 07:55:20 UTC

[jira] [Commented] (SPARK-17546) start-* scripts should use hostname --fqdn

    [ https://issues.apache.org/jira/browse/SPARK-17546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15492685#comment-15492685 ] 

Sean Owen commented on SPARK-17546:
-----------------------------------

{{hostname --fqdn}} doesn't work on OS X, so may be specific to some versions of Linux et al. However looks like {{hostname -f}} is a synonym on Linux, and works on OS X (though doesn't necessarily give more info). Go for it with {{-f}} I think.

> start-* scripts should use hostname --fqdn 
> -------------------------------------------
>
>                 Key: SPARK-17546
>                 URL: https://issues.apache.org/jira/browse/SPARK-17546
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Kevin Burton
>
> The ./sbin/start-slaves.sh and ./sbin/start-master.sh scripts use just 'hostname' and if /etc/hostname isn't using a fqdn then you don't get the fully qualified domain name.
> If you upgrade your script to hostname --fqdn the problem is solved. 



--
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