[ https://issues.apache.org/jira/browse/SPARK-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13994800#comment-13994800 ]
Patrick Wendell edited comment on SPARK-1792 at 5/12/14 4:49 AM: ----------------------------------------------------------------- It would be nice if the spark-submit script could automatically set arbitrary spark options. The way we have it now is you can set them in the following ways: 1. You explicitly set an option when you create a SparkConf() 2. You have default values for spark conf options in spark-defaults.conf. was (Author: pwendell): Can you set these in spark-defaults.conf? > Missing Spark-Shell Configure Options > ------------------------------------- > > Key: SPARK-1792 > URL: https://issues.apache.org/jira/browse/SPARK-1792 > Project: Spark > Issue Type: Bug > Components: Documentation, Spark Core > Reporter: Joseph E. Gonzalez > > The `conf/spark-env.sh.template` does not have configure options for the > spark shell. For example to enable Kryo for GraphX when using the spark > shell in stand alone mode it appears you must add: > {code} > SPARK_SUBMIT_OPTS="-Dspark.serializer=org.apache.spark.serializer.KryoSerializer > " > SPARK_SUBMIT_OPTS+="-Dspark.kryo.registrator=org.apache.spark.graphx.GraphKryoRegistrator > " > {code} > However SPARK_SUBMIT_OPTS is not documented anywhere. Perhaps the > spark-shell should have its own options (e.g., SPARK_SHELL_OPTS). -- This message was sent by Atlassian JIRA (v6.2#6252)