diff options
Diffstat (limited to 'sbin/start-master.sh')
-rwxr-xr-x | sbin/start-master.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/start-master.sh b/sbin/start-master.sh index 981cb15bc0..d970fcc45e 100755 --- a/sbin/start-master.sh +++ b/sbin/start-master.sh @@ -48,7 +48,7 @@ if [ "$SPARK_MASTER_PORT" = "" ]; then fi if [ "$SPARK_MASTER_HOST" = "" ]; then - SPARK_MASTER_HOST=`hostname` + SPARK_MASTER_HOST=`hostname -f` fi if [ "$SPARK_MASTER_WEBUI_PORT" = "" ]; then |