aboutsummaryrefslogtreecommitdiff
path: root/sbin/stop-history-server.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/stop-history-server.sh')
-rwxr-xr-xsbin/stop-history-server.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/stop-history-server.sh b/sbin/stop-history-server.sh
index c0034ad641..6e60563595 100755
--- a/sbin/stop-history-server.sh
+++ b/sbin/stop-history-server.sh
@@ -19,7 +19,7 @@
# Stops the history server on the machine this script is executed on.
-sbin=`dirname "$0"`
-sbin=`cd "$sbin"; pwd`
+sbin="`dirname "$0"`"
+sbin="`cd "$sbin"; pwd`"
"$sbin"/spark-daemon.sh stop org.apache.spark.deploy.history.HistoryServer 1