Github user tgravescs commented on the pull request: https://github.com/apache/spark/pull/560#issuecomment-46583474 @vanzin I'm not sure how your change fixes still being able to use SPARK_JAVA_OPTS to set configs. SPARK_JAVA_OPTS=-Dspark.authentication=true. When I just tried I still get the error (with both spark-submit and spark-class) Caused by: java.lang.Exception: spark.executor.extraJavaOptions is not allowed to set Spark options (was '-Dspark.authentication=true)'. Set them directly on a SparkConf or in a properties file when using ./bin/spark-submit.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---