Description
Oozie requires multiple java opts to be enclosed in quotes. For example:
spark.driver.extraJavaOptions="-Xmn2703m -XX:SurvivorRatio=2 -XX:ParallelGCThreads=20"
However the above breaks spark-shell.
$ ./spark2-shell Invalid initial young generation size: -Xmn2212m -XX:SurvivorRatio=2 -XX:ParallelGCThreads=20 Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
To fix spark-shell, we have to remove the quotes, which errors out Oozie:
Error: Unrecognized option '-XX:SurvivorRatio=2'
...
--conf
spark.executor.extraJavaOptions=-Xmn2703m -Dlog4j.configuration=spark-log4j.properties
-XX:SurvivorRatio=2
Oozie should be able to parse spark-defaults.conf values with spaces without needing the quotes.
Attachments
Attachments
Issue Links
- is duplicated by
-
OOZIE-3050 Parse Error if the spark job has the spark.executor.extraClassPath confguration.
- Resolved
- relates to
-
OOZIE-3330 [spark-action] Remove double quotes inside plain option values
- Closed
- links to