[ 
https://issues.apache.org/jira/browse/SPARK-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13994803#comment-13994803
 ] 

Andrew Or commented on SPARK-1792:
----------------------------------

Spark shell calls spark submit, which loads configuration options from 
conf/spark-defaults.conf. This is documented here, but not clearly: 
https://github.com/apache/spark/blob/master/docs/cluster-overview.md

We should add this to the configuration page itself 
(https://github.com/apache/spark/blob/master/docs/configuration.md). I already 
have a PR on the docs (https://github.com/apache/spark/pull/701) so maybe I can 
add that.

> 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)

Reply via email to