On Fri, Jan 16, 2015 at 10:07 AM, Michel Dufresne <sparkhealthanalyt...@gmail.com> wrote: > Thank for your reply, I've should have mentioned that spark-env.sh is the > only option i found because: > > - I'm creating the SpeakConf/SparkContext from a Play Application > (therefore I'm not using spark-submit script)
Then you can set that configuration Zhan mentions directly in your SparkConf object. BTW the env variable for what you want is SPARK_EXECUTOR_OPTS, but the use of env variables to set app configuration is discouraged. -- Marcelo --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org For additional commands, e-mail: dev-h...@spark.apache.org