Skip to content

Commit a88294c

Browse files
committed
Rebased changes for new spark-shell
1 parent a9f393e commit a88294c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/spark-shell

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ set -o posix
3434
FWDIR="$(cd `dirname $0`/..; pwd)"
3535

3636
SPARK_REPL_OPTS="${SPARK_REPL_OPTS:-""}"
37-
DEFAULT_MASTER="local"
37+
DEFAULT_MASTER="local[*]"
3838
MASTER=${MASTER:-""}
3939

4040
info_log=0
@@ -64,7 +64,7 @@ ${txtbld}OPTIONS${txtrst}:
6464
is followed by m for megabytes or g for gigabytes, e.g. "1g".
6565
-dm --driver-memory : The memory used by the Spark Shell, the number is followed
6666
by m for megabytes or g for gigabytes, e.g. "1g".
67-
-m --master : A full string that describes the Spark Master, defaults to "local"
67+
-m --master : A full string that describes the Spark Master, defaults to "local[*]"
6868
e.g. "spark://localhost:7077".
6969
--log-conf : Enables logging of the supplied SparkConf as INFO at start of the
7070
Spark Context.

0 commit comments

Comments
 (0)