flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mariusz Wojakowski <mariusz89...@gmail.com>
Subject Overwrite environment variables in single-job deployment on YARN
Date Fri, 11 Aug 2017 11:20:03 GMT
Hi,

I want to run Flink job on YARN and I need to overwrite JAVA_HOME on Task Managers. In multi-job
mode I can do it by passing parameter when starting cluster: 

./yarn-session.sh -D yarn.taskamanager.env.JAVA_HOME=“/opt/jre1.8.0”

I want to overwrite this variable in single-job deployment, but it doesn’t work - TM’s
JAVA_HOME is unchanged.
Maybe I’m missing something - could you give me some advice how to do that?


Thanks!
Mariusz
Mime
View raw message