File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 3737
3838# If this is a standalone cluster daemon, reset SPARK_JAVA_OPTS and SPARK_MEM to reasonable
3939# values for that; it doesn't need a lot
40- if [ " $1 " = " spark.deploy.master.Master" -o " $1 " = " spark.deploy.worker.Worker" ]; then
40+ if [ " $1 " = " org.apache. spark.deploy.master.Master" -o " $1 " = " org.apache. spark.deploy.worker.Worker" ]; then
4141 SPARK_MEM=${SPARK_DAEMON_MEMORY:- 512m}
4242 SPARK_DAEMON_JAVA_OPTS=" $SPARK_DAEMON_JAVA_OPTS -Dspark.akka.logLifecycleEvents=true"
4343 # Do not overwrite SPARK_JAVA_OPTS environment variable in this script
4949
5050# Add java opts for master, worker, executor. The opts maybe null
5151case " $1 " in
52- ' spark.deploy.master.Master' )
52+ ' org.apache. spark.deploy.master.Master' )
5353 OUR_JAVA_OPTS=" $OUR_JAVA_OPTS $SPARK_MASTER_OPTS "
5454 ;;
55- ' spark.deploy.worker.Worker' )
55+ ' org.apache. spark.deploy.worker.Worker' )
5656 OUR_JAVA_OPTS=" $OUR_JAVA_OPTS $SPARK_WORKER_OPTS "
5757 ;;
58- ' spark.executor.StandaloneExecutorBackend' )
58+ ' org.apache. spark.executor.StandaloneExecutorBackend' )
5959 OUR_JAVA_OPTS=" $OUR_JAVA_OPTS $SPARK_EXECUTOR_OPTS "
6060 ;;
61- ' spark.executor.MesosExecutorBackend' )
61+ ' org.apache. spark.executor.MesosExecutorBackend' )
6262 OUR_JAVA_OPTS=" $OUR_JAVA_OPTS $SPARK_EXECUTOR_OPTS "
6363 ;;
64- ' spark.repl.Main' )
64+ ' org.apache. spark.repl.Main' )
6565 OUR_JAVA_OPTS=" $OUR_JAVA_OPTS $SPARK_REPL_OPTS "
6666 ;;
6767esac
You can’t perform that action at this time.
0 commit comments