Skip to content

Commit c3406a5

Browse files
committed
Add extra export in spark-shell
1 parent 6a0e340 commit c3406a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/spark-shell

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function set_spark_log_conf(){
127127

128128
function set_spark_master(){
129129
if ! [[ "$1" =~ $ARG_FLAG_PATTERN ]]; then
130-
MASTER="$1"
130+
export MASTER="$1"
131131
else
132132
out_error "wrong format for $2"
133133
fi

0 commit comments

Comments
 (0)