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 D05F7200D0E for ; Tue, 26 Sep 2017 23:27:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CEE131609D7; Tue, 26 Sep 2017 21:27:24 +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 21DFB1609C4 for ; Tue, 26 Sep 2017 23:27:23 +0200 (CEST) Received: (qmail 63258 invoked by uid 500); 26 Sep 2017 21:27:23 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@flink.apache.org Received: (qmail 63244 invoked by uid 99); 26 Sep 2017 21:27:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Sep 2017 21:27:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 6B5601825D1 for ; Tue, 26 Sep 2017 21:27:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.874 X-Spam-Level: * X-Spam-Status: No, score=1.874 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_MED=-2.3, SPF_SOFTFAIL=0.972, WEIRD_PORT=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id u9U8B8br7n5f for ; Tue, 26 Sep 2017 21:27:19 +0000 (UTC) Received: from SMTP.nrc.ca (smtp.nrc.ca [132.246.11.168]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 7556B5FDBC for ; Tue, 26 Sep 2017 21:27:19 +0000 (UTC) Received: from mach505.cadc.dao.nrc.ca ([132.246.194.57]) by SMTP.nrc.ca with Microsoft SMTPSVC(6.0.3790.4675); Tue, 26 Sep 2017 17:27:09 -0400 From: Dustin Jenkins Content-Type: multipart/alternative; boundary="Apple-Mail=_3437EC35-3ABC-4A61-9AA2-723E140D2ABF" Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Programmatic configuration with remote JobManager Message-Id: <0BF5CD2E-5BE8-4C72-BB3F-763E54BA79B8@gmail.com> Date: Tue, 26 Sep 2017 14:27:09 -0700 To: Flink Users X-Mailer: Apple Mail (2.3273) X-OriginalArrivalTime: 26 Sep 2017 21:27:09.0829 (UTC) FILETIME=[35F67350:01D3370E] archived-at: Tue, 26 Sep 2017 21:27:25 -0000 --Apple-Mail=_3437EC35-3ABC-4A61-9AA2-723E140D2ABF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello, I=E2=80=99m running a single Flink Job Manager with a Task Manager in = Docker containers with Java 8. They are remotely located = (flink.example.com ). I=E2=80=99m submitting a job from my desktop and passing the job to the = Job Manager with -m flink.example.com:6123 = , which seems to work well. I=E2=80=99m = doing a search on an S3 system located at s3.example.com = . The problem is that in order to have access to the S3 system, the = $HADOOP_CONFIG/core-site.xml and $FLINK_HOME/flink-conf.yaml need to be = configured for it at the Job Manager and Task Manager level, which means = they are tied to that particular endpoint (including my access key and = secret key). Is there someway I can specify the configuration only in = my application so I can leave my Flink server cluster to be mostly = generic? Thank you! Dustin --Apple-Mail=_3437EC35-3ABC-4A61-9AA2-723E140D2ABF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hello,

I=E2=80=99m running a single Flink Job Manager with a Task = Manager in Docker containers with Java 8.  They are remotely = located (flink.example.com).

I=E2=80=99m submitting a job from my = desktop and passing the job to the Job Manager with -m flink.example.com:6123, which seems to work well. =  I=E2=80=99m doing a search on an S3 system located at s3.example.com.

The problem is that in = order to have access to the S3 system, the $HADOOP_CONFIG/core-site.xml = and $FLINK_HOME/flink-conf.yaml need to be configured for it at the Job = Manager and Task Manager level, which means they are tied to that = particular endpoint (including my access key and secret key).  Is = there someway I can specify the configuration only in my application so = I can leave my Flink server cluster to be mostly generic?

Thank you!
Dustin

= --Apple-Mail=_3437EC35-3ABC-4A61-9AA2-723E140D2ABF--