Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0A554200B73 for ; Mon, 29 Aug 2016 13:58:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 08BA9160AB8; Mon, 29 Aug 2016 11:58:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 507DF160AA7 for ; Mon, 29 Aug 2016 13:58:07 +0200 (CEST) Received: (qmail 43832 invoked by uid 500); 29 Aug 2016 11:58:06 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flink.apache.org Delivered-To: mailing list user@flink.apache.org Received: (qmail 43823 invoked by uid 99); 29 Aug 2016 11:58:06 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2016 11:58:06 +0000 Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id EAB6B1A015B for ; Mon, 29 Aug 2016 11:58:05 +0000 (UTC) Received: by mail-wm0-f47.google.com with SMTP id o80so87903769wme.1 for ; Mon, 29 Aug 2016 04:58:05 -0700 (PDT) X-Gm-Message-State: AE9vXwMYXCtcXA2ftt2ZySk+FwV14agq7F1UdqmUJFea7LuOou0U3pTWW1wB1II+t1acSKnDdZD7IVrI70yQ9Q== X-Received: by 10.194.89.9 with SMTP id bk9mr8753588wjb.181.1472471884513; Mon, 29 Aug 2016 04:58:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.75.36 with HTTP; Mon, 29 Aug 2016 04:57:43 -0700 (PDT) In-Reply-To: <1472176116659-8709.post@n4.nabble.com> References: <1472097129092-8676.post@n4.nabble.com> <1472114397746-8681.post@n4.nabble.com> <1472176116659-8709.post@n4.nabble.com> From: Robert Metzger Date: Mon, 29 Aug 2016 13:57:43 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How to set a custom JAVA_HOME when run flink on YARN? To: "user@flink.apache.org" Content-Type: multipart/alternative; boundary=089e0102e2aa9e4b87053b349352 archived-at: Mon, 29 Aug 2016 11:58:08 -0000 --089e0102e2aa9e4b87053b349352 Content-Type: text/plain; charset=UTF-8 The "env.java.home" variable is only evaluated by the start scripts, not the YARN code. The solution you've mentioned earlier is a good work around in my opinion. On Fri, Aug 26, 2016 at 3:48 AM, Renkai wrote: > It seems that this config variant only effect local cluster and stand alone > cluster,not effect yarn. > > > > -- > 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-tp8676p8709.html > Sent from the Apache Flink User Mailing List archive. mailing list archive > at Nabble.com. > --089e0102e2aa9e4b87053b349352 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The "env.java.home" variable is only evaluated b= y the start scripts, not the YARN code.

The solution you= 've mentioned earlier is a good work around in my opinion.
<= div class=3D"gmail_extra">
On Fri, Aug 26, 20= 16 at 3:48 AM, Renkai <gaelookair@gmail.com> wrote:
It seems that this config variant only effect = local cluster and stand alone
cluster,not effect yarn.



--
View this message in context: http://a= pache-flink-user-mailing-list-archive.2336050.n4.nabble.com/How-t= o-set-a-custom-JAVA-HOME-when-run-flink-on-YARN-tp8676p8709.html<= /a>
Sent from the Apache Flink User Mai= ling List archive. mailing list archive at Nabble.com.

--089e0102e2aa9e4b87053b349352--