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 90651200D2F for ; Wed, 1 Nov 2017 12:34:33 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8EE65160BEA; Wed, 1 Nov 2017 11:34:33 +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 07B94160BE6 for ; Wed, 1 Nov 2017 12:34:32 +0100 (CET) Received: (qmail 70253 invoked by uid 500); 1 Nov 2017 11:34:31 -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 70244 invoked by uid 99); 1 Nov 2017 11:34:31 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2017 11:34:31 +0000 Received: from [192.168.178.53] (ip-2-205-80-95.web.vodafone.de [2.205.80.95]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 578801A0117 for ; Wed, 1 Nov 2017 11:34:31 +0000 (UTC) Subject: Re: JobManager web interface redirect strategy when running in HA To: user@flink.apache.org References: <1509454503305-0.post@n4.nabble.com> From: Chesnay Schepler Message-ID: <22b643ee-8d78-bb91-be36-6a0bfb85d131@apache.org> Date: Wed, 1 Nov 2017 12:34:30 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1509454503305-0.post@n4.nabble.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US archived-at: Wed, 01 Nov 2017 11:34:33 -0000 We intend to change the redirection behavior such that any jobmanager (leading or not) can accept requests, and communicates internally with the leader. In this model you could setup the flink.domain.tld to point to any jobmanager (or distribute requests among them). Would this work for you? I believe this is targeted for 1.5. On 31.10.2017 13:55, mrooding wrote: > Hi > > We're running 3 job managers in high availability cluster mode backed by > OpenStack/Openshift. We're currently exposing all 3 job managers using 3 > different routes (flink-1.domain.tld, flink-2.domain.tld, > flink-3.domain.tld). When accessing the route for a job manager which isn't > the leader it automatically redirects the user to the host and port of the > leading job manager. From what I've seen in the source code the rpc address > and port are being used to redirect. Since the internal hostnames are not > accessible outside the cluster this obviously doesn't work. > > The nicest solution would be a single route (flink.domain.tld) which would > correctly delegate requests to the leading job manager. The second best > solution would probably be the possibility to declare a public URL in the > flink configuration file. > > I'd be more than happy to contribute to Flink and add support for this but > I'd love to hear your ideas about it. > > Kind regards > > Marc > > > > > -- > Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/ >