Re: Using shell environment variables

2019-08-25 Thread Vishwas Siravara
You can also link at runtime by providing the path to the dylib by adding -Djava.library.path= in jvm options in the task manager On Sat, Aug 24, 2019 at 9:11 PM Zhu Zhu wrote: > Hi Abhishek, > > You need to export the environment variables on all the worker > machines(not the machine to submit

Re: Using shell environment variables

2019-08-24 Thread Zhu Zhu
Hi Abhishek, You need to export the environment variables on all the worker machines(not the machine to submit the job). Alternatively, if you are submitting the job to a yarn cluster, you can use flink conf prefix "containerized.taskmanager.env." to add environment variables to Flink's task mana

Re: Using shell environment variables

2019-08-24 Thread Abhishek Jain
Hi Miki, Thanks for your reply. ParameterTool will only help in making the value accessible through ParameterTool.get(). However, I need a way of accessing the value using "System.getenv" since the underlying library uses it so. On Sat, 24 Aug 2019 at 23:04, miki haiat wrote: > Did you register

Re: Using shell environment variables

2019-08-24 Thread miki haiat
Did you register your system environment parameter ? You can find here several ways to use configuration data [1] 1. https://ci.apache.org/projects/flink/flink-docs-stable/dev/best_practices.html On Sat, Aug 24, 2019, 20:26 Abhishek Jain wrote: > Hi! > > I am using a library that depends on a