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 08627200BC2 for ; Thu, 17 Nov 2016 14:48:39 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 07543160B0B; Thu, 17 Nov 2016 13:48:39 +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 2B066160AFF for ; Thu, 17 Nov 2016 14:48:38 +0100 (CET) Received: (qmail 41905 invoked by uid 500); 17 Nov 2016 13:48:37 -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 41895 invoked by uid 99); 17 Nov 2016 13:48:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2016 13:48:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B27451A0074 for ; Thu, 17 Nov 2016 13:48:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 5.487 X-Spam-Level: ***** X-Spam-Status: No, score=5.487 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, HTML_MESSAGE=2, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id lBUOmV1oWljU for ; Thu, 17 Nov 2016 13:48:34 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 1760C5F474 for ; Thu, 17 Nov 2016 13:48:34 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id BE0C46CB190F6 for ; Thu, 17 Nov 2016 06:48:33 -0700 (MST) Date: Thu, 17 Nov 2016 05:37:19 -0800 (PST) From: vinay patil To: user@flink.apache.org Message-ID: In-Reply-To: References: <6BCE3894-E8BF-4FA8-89C9-65392B6229F7@gmail.com> <1477376896937-9702.post@n4.nabble.com> Subject: Re: add FLINK_LIB_DIR to classpath on yarn -> add properties file to class path on yarn MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_87523_801721405.1479389839225" archived-at: Thu, 17 Nov 2016 13:48:39 -0000 ------=_Part_87523_801721405.1479389839225 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Robert, Sorry for the late response. I checked the TM and JM logs but am not able to see that file added in the classpath. I have deployed Flink on EMR, and placed the yaml file in /usr/lib/flink/lib folder. What am I doing wrong here ? Regards, Vinay Patil On Wed, Oct 26, 2016 at 1:25 PM, rmetzger0 [via Apache Flink User Mailing List archive.] wrote: > Hi Vinay, > > the JobManager and TaskManager logs contain the classpath used when > starting a container on YARN. Can you check if the yaml file is in the > classpath? > > On Tue, Oct 25, 2016 at 8:28 AM, vinay patil <[hidden email] > > wrote: > >> Hi Max, >> >> As discussed here , I have put my yaml file in the flink lib directory, >> but >> still I am not able to get this file from classpath. >> >> I am using Flink 1.1.1 and cfg4j to load the file from classpath. >> >> Running the job on YARN in EMR using the below command: >> >> ./bin/flink run >> >> Can you please let me know what I am doing wrong here. >> >> Regards, >> Vinay Patil >> >> >> >> -- >> View this message in context: http://apache-flink-user-maili >> ng-list-archive.2336050.n4.nabble.com/add-FLINK-LIB-DIR- >> to-classpath-on-yarn-tp8097p9702.html >> Sent from the Apache Flink User Mailing List archive. mailing list >> archive at Nabble.com. >> > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://apache-flink-user-mailing-list-archive.2336050. > n4.nabble.com/add-FLINK-LIB-DIR-to-classpath-on-yarn-tp8097p9719.html > To start a new topic under Apache Flink User Mailing List archive., email > ml-node+s2336050n1h83@n4.nabble.com > To unsubscribe from Apache Flink User Mailing List archive., click here > > . > NAML > > -- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/add-FLINK-LIB-DIR-to-classpath-on-yarn-tp8097p10178.html Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com. ------=_Part_87523_801721405.1479389839225 Content-Type: text/html; charset=UTF8 Content-Transfer-Encoding: quoted-printable
Hi Robert,

Sorry for the late response.

I ch= ecked the TM and JM logs but am not able to see that file added in the clas= spath.

I have deployed Flink on EMR, and placed the yaml file in /us= r/lib/flink/lib folder.

What am I doing wrong here ?=C2=A0

Regards,
Vinay = Patil

On Wed, Oct 26, 2016 at 1:25 PM, rmetzger0 [= via Apache Flink User Mailing List archive.] <[hidden email]> wrote:
=09
Hi Vinay,

the JobManager and TaskMan= ager logs contain the classpath used when starting a container on YARN. Can= you check if the yaml file is in the classpath?

On Tue, Oct 25,= 2016 at 8:28 AM, vinay patil <[hidden email]> wrote:
Hi Max,

As discussed here , I have put my yaml file in the flink lib directory, but=
still I am not able to get this file from classpath.

I am using Flink 1.1.1 and cfg4j to load the file from classpath.

Running the job on YARN in EMR using the below command:

./bin/flink run <jar_name>

Can you please let me know what I am doing wrong here.

Regards,
Vinay Patil



--
View this message in context: http:/= /apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/add= -FLINK-LIB-DIR-to-classpath-on-yarn-tp8097p9702.html
Sent from the Apache Flink User Mailing List archive. mailing list archive = at Nabble.com.

=09 =09 =09 =09
=09
=09
=09
=09=09
If you reply to this email, your mess= age will be added to the discussion below:
=09=09
http://apache-flink-use= r-mailing-list-archive.2336050.n4.nabble.com/add-FLINK-LIB-D= IR-to-classpath-on-yarn-tp8097p9719.html =09
=09
=09=09To start a new topic under Apache Flink User Mailing List archive., e= mail [hidden email]
=09=09To unsubscribe from Apache Flink User Mailing List archive., click here.<= br> =09=09NAML =09

=09 =09 =09

View this message in context: Re: add FLINK_LIB_DIR to classpath on yarn -> add prope= rties file to class path on yarn
Sent from the Apache Flink User Mailing List archive. mailing list ar= chive at Nabble.com.
------=_Part_87523_801721405.1479389839225--