For spark-submit, I know I can submit application level command line parameters to my .jar.
However, can I prefix them with switches? My command line params are processed in my applications using JCommander. I've tried several variations of the below with no success. An example of what I am trying to do is below in the --num-decimals argument. ./bin/spark-submit \ --class org.apache.spark.examples.SparkPi \ --master spark://207.184.161.138:7077 \ --deploy-mode cluster \ --supervise \ --executor-memory 20G \ --total-executor-cores 100 \ /path/to/examples.jar \ --num-decimals=1000 \ --second-argument=Arg2