aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorCrazyJvm <crazyjvm@gmail.com>2014-01-16 11:45:02 +0800
committerCrazyJvm <crazyjvm@gmail.com>2014-01-16 11:45:02 +0800
commit7a0c5b5a2362253e70f9c7d72dab1cad380e52c7 (patch)
tree33b6b16b71d9a232b9eb5c629e711c0d6fbd0f3c /core
parent263933da97d5e877999ce282f3e52457ae2d9377 (diff)
downloadspark-7a0c5b5a2362253e70f9c7d72dab1cad380e52c7.tar.gz
spark-7a0c5b5a2362253e70f9c7d72dab1cad380e52c7.tar.bz2
spark-7a0c5b5a2362253e70f9c7d72dab1cad380e52c7.zip
fix "set MASTER automatically fails" bug.
spark-shell intends to set MASTER automatically if we do not provide the option when we start the shell , but there's a problem. The condition is "if [[ "x" != "x$SPARK_MASTER_IP" && "y" != "y$SPARK_MASTER_PORT" ]];" we sure will set SPARK_MASTER_IP explicitly, the SPARK_MASTER_PORT option, however, we probably do not set just using spark default port 7077. So if we do not set SPARK_MASTER_PORT, the condition will never be true. We should just use default port if users do not set port explicitly I think.
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions