flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maximilian Michels <...@apache.org>
Subject Re: How to set a custom JAVA_HOME when run flink on YARN?
Date Thu, 25 Aug 2016 09:04:13 GMT
Preferably, you set that directly in the config using

env.java.home: /path/to/java/home

If unset, Flink will use the $JAVA_HOME environment variable.

Cheers,
Max

On Thu, Aug 25, 2016 at 10:39 AM, Renkai <gaelookair@gmail.com> wrote:
> I think I solved myself,just add  -yD yarn.taskmanager.env.JAVA_HOME=xx in
> the command line, a little hard to find the solution though.
>
>
>
> --
> View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/How-to-set-a-custom-JAVA-HOME-when-run-flink-on-YARN-tp8676p8681.html
> Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.

Mime
View raw message