fix some format problem.

This commit is contained in:
CrazyJvm 2014-01-16 11:57:46 +08:00
parent 7a0c5b5a23
commit 8400536456

View file

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