aboutsummaryrefslogtreecommitdiff
path: root/bin/spark-shell
diff options
context:
space:
mode:
authorCrazyJvm <crazyjvm@gmail.com>2014-01-16 11:57:46 +0800
committerCrazyJvm <crazyjvm@gmail.com>2014-01-16 11:57:46 +0800
commit8400536456ecff26145244cf74b7c00dd1c7034b (patch)
tree097bae3b8e9c974accbd9e0df666a40ff4819fd3 /bin/spark-shell
parent7a0c5b5a2362253e70f9c7d72dab1cad380e52c7 (diff)
downloadspark-8400536456ecff26145244cf74b7c00dd1c7034b.tar.gz
spark-8400536456ecff26145244cf74b7c00dd1c7034b.tar.bz2
spark-8400536456ecff26145244cf74b7c00dd1c7034b.zip
fix some format problem.
Diffstat (limited to 'bin/spark-shell')
-rwxr-xr-xbin/spark-shell4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/spark-shell b/bin/spark-shell
index 398f2118e0..05a46ee0ca 100755
--- a/bin/spark-shell
+++ b/bin/spark-shell
@@ -50,8 +50,8 @@ if [ -z "$MASTER" ]; then
if [ -e "$FWDIR/conf/spark-env.sh" ]; then
. "$FWDIR/conf/spark-env.sh"
fi
- if [ "x" != "x$SPARK_MASTER_IP" ];then
- if [ "y" != "y$SPARK_MASTER_PORT" ];then
+ if [ "x" != "x$SPARK_MASTER_IP" ]; then
+ if [ "y" != "y$SPARK_MASTER_PORT" ]; then
SPARK_MASTER_PORT="${SPARK_MASTER_PORT}"
else
SPARK_MASTER_PORT=$DEFAULT_SPARK_MASTER_PORT