Skip to content

Commit 51ca48b

Browse files
author
Sun Rui
committed
[SPARK-8063][SPARKR] Spark master URL conflict between MASTER env variable and --master command line option.
1 parent 0f80990 commit 51ca48b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/pkg/inst/profile/shell.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
old <- getOption("defaultPackages")
2525
options(defaultPackages = c(old, "SparkR"))
2626

27-
sc <- SparkR::sparkR.init(Sys.getenv("MASTER", unset = ""))
27+
sc <- SparkR::sparkR.init()
2828
assign("sc", sc, envir=.GlobalEnv)
2929
sqlContext <- SparkR::sparkRSQL.init(sc)
3030
assign("sqlContext", sqlContext, envir=.GlobalEnv)

0 commit comments

Comments
 (0)