aboutsummaryrefslogtreecommitdiff
path: root/sbin/start-mesos-dispatcher.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/start-mesos-dispatcher.sh')
-rwxr-xr-xsbin/start-mesos-dispatcher.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/start-mesos-dispatcher.sh b/sbin/start-mesos-dispatcher.sh
index 06a966d1c2..ef65fb9539 100755
--- a/sbin/start-mesos-dispatcher.sh
+++ b/sbin/start-mesos-dispatcher.sh
@@ -34,7 +34,7 @@ if [ "$SPARK_MESOS_DISPATCHER_PORT" = "" ]; then
fi
if [ "$SPARK_MESOS_DISPATCHER_HOST" = "" ]; then
- SPARK_MESOS_DISPATCHER_HOST=`hostname`
+ SPARK_MESOS_DISPATCHER_HOST=`hostname -f`
fi
if [ "$SPARK_MESOS_DISPATCHER_NUM" = "" ]; then