Skip to content

Commit f67a27d

Browse files
Sun Ruishivaram
authored andcommitted
[SPARK-8063] [SPARKR] Spark master URL conflict between MASTER env variable and --master command line option.
Author: Sun Rui <rui.sun@intel.com> Closes #6605 from sun-rui/SPARK-8063 and squashes the following commits: 51ca48b [Sun Rui] [SPARK-8063][SPARKR] Spark master URL conflict between MASTER env variable and --master command line option. (cherry picked from commit 708c63b) Signed-off-by: Shivaram Venkataraman <shivaram@cs.berkeley.edu>
1 parent 0a1dad6 commit f67a27d

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)