flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Ewen <se...@apache.org>
Subject Re: passing environment variables to flink program
Date Mon, 02 Nov 2015 20:28:54 GMT

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

We have never passed library paths to link external JNI libraries with
that, so let usknow if that works...


On Mon, Nov 2, 2015 at 10:12 AM, youarehow <jackie.jiang@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.

View raw message