Hi! What kind of setup are you using, YARN or standalone?
In both modes, you should be able to pass your flags via the config entry "env.java.opts" in the flink-conf.yaml file. See here https://ci.apache.org/projects/flink/flink-docs-master/setup/config.html#other We have never passed library paths to link external JNI libraries with that, so let usknow if that works... Greetings, Stephan On Mon, Nov 2, 2015 at 10:12 AM, youarehow <jackie.ji...@equifax.com> wrote: > I am doing a Flink evaluation against Spark. My program is a JNI > application > and requires LD_LIBRARY_PATH to be set among other needed variables. In > Spark I can do that multiple ways. One way is to use --conf > 'spark.executorEnv.XXX=blah'. It works great. > > How do I do that in Flink? > > thanks > jackie > > > > -- > View this message in context: > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/passing-environment-variables-to-flink-program-tp3337.html > Sent from the Apache Flink User Mailing List archive. mailing list archive > at Nabble.com. >