Did you try to access the variables in worker using System.getenv(...) and
it failed?


On Wed, Mar 26, 2014 at 11:42 AM, santhoma <santhosh.tho...@yahoo.com>wrote:

> I tried it, it did not work
>
>      conf.setExecutorEnv("ORACLE_HOME", orahome)
>      conf.setExecutorEnv("LD_LIBRARY_PATH", ldpath)
>
> Any idea how to set it using java.library.path ?
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/How-to-set-environment-variable-for-a-spark-job-tp3180p3241.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>



-- 

Sourav Chandra

Senior Software Engineer

· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·

sourav.chan...@livestream.com

o: +91 80 4121 8723

m: +91 988 699 3746

skype: sourav.chandra

Livestream

"Ajmera Summit", First Floor, #3/D, 68 Ward, 3rd Cross, 7th C Main, 3rd
Block, Koramangala Industrial Area,

Bangalore 560034

www.livestream.com

Reply via email to