File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -368,30 +368,6 @@ sparkR.session <- function(
368368 }
369369 overrideEnvs(sparkConfigMap , paramMap )
370370 }
371- <<<<<<< 8f0c35a4d0dd458719627be5f524792bf244d70a
372- =======
373- if (nzchar(master )) {
374- sparkConfigMap [[" spark.master" ]] <- master
375- }
376-
377- # do not download if it is run in the sparkR shell
378- if (! nzchar(master ) || is_master_local(master )) {
379- if (! is_sparkR_shell()) {
380- if (is.na(file.info(sparkHome )$ isdir )) {
381- msg <- paste0(" Spark not found in SPARK_HOME: " ,
382- sparkHome ,
383- " .\n To search in the cache directory. " ,
384- " Installation will start if not found." )
385- message(msg )
386- packageLocalDir <- install.spark()
387- sparkHome <- packageLocalDir
388- } else {
389- msg <- paste0(" Spark package is found in SPARK_HOME: " , sparkHome )
390- message(msg )
391- }
392- }
393- }
394- >>>>>>> [SPARK - 17210 ][SPARKR ] sparkr.zip is not distributed to executors when run sparkr in RStudio
395371
396372 if (! exists(" .sparkRjsc" , envir = .sparkREnv )) {
397373 retHome <- sparkCheckInstall(sparkHome , master )
You can’t perform that action at this time.
0 commit comments