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 39EB7200CB3 for ; Mon, 26 Jun 2017 21:12:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 35127160BDE; Mon, 26 Jun 2017 19:12:46 +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 7B3AE160BDA for ; Mon, 26 Jun 2017 21:12:45 +0200 (CEST) Received: (qmail 18083 invoked by uid 500); 26 Jun 2017 19:12:44 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 18071 invoked by uid 99); 26 Jun 2017 19:12:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jun 2017 19:12:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E7AD7C0B3E for ; Mon, 26 Jun 2017 19:12:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.899 X-Spam-Level: X-Spam-Status: No, score=0.899 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id XCPG7toXJGCw for ; Mon, 26 Jun 2017 19:12:43 +0000 (UTC) Received: from mail-io0-f180.google.com (mail-io0-f180.google.com [209.85.223.180]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id B5DB05F6C0 for ; Mon, 26 Jun 2017 19:12:42 +0000 (UTC) Received: by mail-io0-f180.google.com with SMTP id z62so6175254ioi.3 for ; Mon, 26 Jun 2017 12:12:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=muCY9Ih5OTdaVmNX8RKQ41qBk9Fuzvj2uv0XTbRwbjM=; b=jLSO4sLoefLAYihF5KwP5H+7G4K2M/+58qmd/QNwn4KwxZjzdOX6791/kz0jdV5EIY jOCkr0YIiulHLa8jpaywi3CzBw32LEJxKeQrStFaXflR6PCMOeo9Ub+XPLJR3h15yBmT SM2in8aC3NkJhNcF/3c6xR4aWZiH5MgQS8EozArCjzhtfpoB4gShcxLpn+a73wKvA0X5 5TY+v5AHbAOq1QVScJUrc5IiC1KIVTN14EHQrkURKDAG0XRNTFCuzE1F4fVrGZ3TxSJa sqro18/k2qHQDCHj5Y5zRCleWVGY7zGhHqnQxfqs11HQKzvxM49pY+icRF8g8sH7sMev onTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=muCY9Ih5OTdaVmNX8RKQ41qBk9Fuzvj2uv0XTbRwbjM=; b=qIrfh17LVzKmpkrkp4cHpNLK3kYIzbpU7dOz5OBro1QcwzcWJhtuY+ZFvfNGZOMZg9 7uTevWsTBuN/hl41V0VjFSLlotpNdf4Gkn4iOx58Fnyw3H/qEJiauch8mdzWspi5j6dQ OLgQW/UwXcVcEOzfHV4sVL9gf83uKLBdQNasibscRR/NMaDLqYK3Zl0a2dGFPE5azNaP 2OMkDKpWF/u3apKXK0HacOPNPyOSui7EeKid03m6QsLu/oHkhl/2NjpBKGJmzMeKyD4L GxZ8Bz2snFTgFqa9BtilqNEJLWxIMR4qYmi3VPXa0mA+pbgb/YXFN7DrJ9bYLcuGK9Hv y3+w== X-Gm-Message-State: AKS2vOwe7h2oC4/GWun8PVAvVvt1fb5pvUGgnDE5NEGZuJZofQz6jtix F16J6S/eTaVWLvlHMGjm8FGThUKMUQ== X-Received: by 10.107.53.24 with SMTP id c24mr2276667ioa.75.1498504362087; Mon, 26 Jun 2017 12:12:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.132.42 with HTTP; Mon, 26 Jun 2017 12:12:11 -0700 (PDT) In-Reply-To: References: From: Valentin Kulichenko Date: Mon, 26 Jun 2017 12:12:11 -0700 Message-ID: Subject: Re: Zookeeper Discovery SPI & external IP address in AWS To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="001a114482ee326a3c0552e1bc1c" archived-at: Mon, 26 Jun 2017 19:12:46 -0000 --001a114482ee326a3c0552e1bc1c Content-Type: text/plain; charset="UTF-8" Yakov, Nodes that join outside of the network (usually these are clients) need to know public addresses to connect. To make it work either of these must happen: 1. Server nodes publish their public addresses in IP finder so that clients can use them to connect. 2. Client nodes use address resolver to map published internal addresses to public addresses. Both will work, but frankly I like option 1 more. First of all, it's just more intuitive that IP finder contains all possible addresses that can be used to join. Second of all, option 2 introduces requirement to have address resolver for server addresses configured on client nodes - this is not very good from usability standpoint. -Val On Mon, Jun 26, 2017 at 3:17 AM, Yakov Zhdanov wrote: > Guys, I don't get the point. > > 1. Why addresses processed by address resolver should appear in shared > finder? In my understanding finders contain only internal IPs which should > be processed by a resolver. > > 2. This one is very critical. Nikolay and Anton, how can I review the > changes?! Please update the ticket with PR or commit hash. > > --Yakov > --001a114482ee326a3c0552e1bc1c--