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.