You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.
Using dcos spark run I cannot provide more than one jvm option by spark.executor.extraJavaOptions. I tried these:
$ dcos spark run --submit-args='--conf spark.cores.max=4 --conf spark.executor.extraJavaOptions="-XX:+UseG1GC -XX:+PrintFlagsFinal" --class ClassPath LibraryPath'
Error when parsing --submit-args: unknown short flag '-X'
$ dcos spark run --submit-args='--conf spark.cores.max=4 --conf spark.executor.extraJavaOptions="-XX:+UseG1GC\ -XX:+PrintFlagsFinal" --class ClassPath LibraryPath'
Error when parsing --submit-args: unknown short flag '-X'
$ dcos spark run --submit-args="--conf spark.cores.max=4 --conf spark.executor.extraJavaOptions='-XX:+UseG1GC\ -XX:+PrintFlagsFinal' --class ClassPath LibraryPath"
Error when parsing --submit-args: unknown short flag '-X'
$ dcos spark run --submit-args="--conf spark.cores.max=4 --conf 'spark.executor.extraJavaOptions=-XX:+UseG1GC -XX:+PrintFlagsFinal' --class ClassPath LibraryPath"
Error when parsing --submit-args: unknown short flag '-X'
$ dcos spark run --submit-args="--conf spark.cores.max=4 --conf spark.executor.extraJavaOptions=-XX:+UseG1GC --conf spark.executor.extraJavaOptions=-XX:+PrintFlagsFinal --class ClassPath LibraryPath" Passes only -XX:+PrintFlagsFinal to JVM
Spark CLI version: 0.5.5
The text was updated successfully, but these errors were encountered:
Using
dcos spark run
I cannot provide more than one jvm option byspark.executor.extraJavaOptions
. I tried these:$ dcos spark run --submit-args='--conf spark.cores.max=4 --conf spark.executor.extraJavaOptions="-XX:+UseG1GC -XX:+PrintFlagsFinal" --class ClassPath LibraryPath'
Error when parsing --submit-args: unknown short flag '-X'
$ dcos spark run --submit-args='--conf spark.cores.max=4 --conf spark.executor.extraJavaOptions="-XX:+UseG1GC\ -XX:+PrintFlagsFinal" --class ClassPath LibraryPath'
Error when parsing --submit-args: unknown short flag '-X'
$ dcos spark run --submit-args="--conf spark.cores.max=4 --conf spark.executor.extraJavaOptions='-XX:+UseG1GC\ -XX:+PrintFlagsFinal' --class ClassPath LibraryPath"
Error when parsing --submit-args: unknown short flag '-X'
$ dcos spark run --submit-args="--conf spark.cores.max=4 --conf 'spark.executor.extraJavaOptions=-XX:+UseG1GC -XX:+PrintFlagsFinal' --class ClassPath LibraryPath"
Error when parsing --submit-args: unknown short flag '-X'
$ dcos spark run --submit-args="--conf spark.cores.max=4 --conf spark.executor.extraJavaOptions=-XX:+UseG1GC --conf spark.executor.extraJavaOptions=-XX:+PrintFlagsFinal --class ClassPath LibraryPath"
Passes only -XX:+PrintFlagsFinal to JVM
Spark CLI version: 0.5.5
The text was updated successfully, but these errors were encountered: