Please see 'spark.executorEnv.[EnvironmentVariableName]' in https://spark.apache.org/docs/latest/configuration.html#runtime-environment
FYI On Tue, Sep 29, 2015 at 12:29 PM, swetha <swethakasire...@gmail.com> wrote: > > Hi, > > How to set System environment variables when submitting a job? Suppose I > have the environment variable as shown below. I have been trying to specify > --- -Dcom.w1.p1.config.runOnEnv=dev and --conf > -Dcom.w1.p1.config.runOnEnv=dev. But, it does not seem to be working. How > to > set environment variable when submitting a job in Spark? > > > -Dcom.w1.p1.config.runOnEnv=dev > > Thanks, > Swetha > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/How-to-set-System-environment-variables-in-Spark-tp24875.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > >