File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 37
37
38
38
# If this is a standalone cluster daemon, reset SPARK_JAVA_OPTS and SPARK_MEM to reasonable
39
39
# 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
41
41
SPARK_MEM=${SPARK_DAEMON_MEMORY:- 512m}
42
42
SPARK_DAEMON_JAVA_OPTS=" $SPARK_DAEMON_JAVA_OPTS -Dspark.akka.logLifecycleEvents=true"
43
43
# Do not overwrite SPARK_JAVA_OPTS environment variable in this script
49
49
50
50
# Add java opts for master, worker, executor. The opts maybe null
51
51
case " $1 " in
52
- ' spark.deploy.master.Master' )
52
+ ' org.apache. spark.deploy.master.Master' )
53
53
OUR_JAVA_OPTS=" $OUR_JAVA_OPTS $SPARK_MASTER_OPTS "
54
54
;;
55
- ' spark.deploy.worker.Worker' )
55
+ ' org.apache. spark.deploy.worker.Worker' )
56
56
OUR_JAVA_OPTS=" $OUR_JAVA_OPTS $SPARK_WORKER_OPTS "
57
57
;;
58
- ' spark.executor.StandaloneExecutorBackend' )
58
+ ' org.apache. spark.executor.StandaloneExecutorBackend' )
59
59
OUR_JAVA_OPTS=" $OUR_JAVA_OPTS $SPARK_EXECUTOR_OPTS "
60
60
;;
61
- ' spark.executor.MesosExecutorBackend' )
61
+ ' org.apache. spark.executor.MesosExecutorBackend' )
62
62
OUR_JAVA_OPTS=" $OUR_JAVA_OPTS $SPARK_EXECUTOR_OPTS "
63
63
;;
64
- ' spark.repl.Main' )
64
+ ' org.apache. spark.repl.Main' )
65
65
OUR_JAVA_OPTS=" $OUR_JAVA_OPTS $SPARK_REPL_OPTS "
66
66
;;
67
67
esac
You can’t perform that action at this time.
0 commit comments