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 0043F200BE4 for ; Wed, 7 Dec 2016 07:07:41 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id F3315160B29; Wed, 7 Dec 2016 06:07:40 +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 485D5160B1B for ; Wed, 7 Dec 2016 07:07:40 +0100 (CET) Received: (qmail 83327 invoked by uid 500); 7 Dec 2016 06:07:39 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 83318 invoked by uid 99); 7 Dec 2016 06:07:39 -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, 07 Dec 2016 06:07:39 +0000 Received: from mail-qk0-f176.google.com (mail-qk0-f176.google.com [209.85.220.176]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 17D271A0143 for ; Wed, 7 Dec 2016 06:07:39 +0000 (UTC) Received: by mail-qk0-f176.google.com with SMTP id n204so404026707qke.2 for ; Tue, 06 Dec 2016 22:07:39 -0800 (PST) X-Gm-Message-State: AKaTC03cmnZpjX4BpQClbJHrDcvtm0Q8chzyU54OBkZnLK1YYtBM7XFRuybjMdKE6ZEt1f2Czf8Ql3y4BhikFRMG X-Received: by 10.55.201.21 with SMTP id q21mr64827586qki.242.1481090858190; Tue, 06 Dec 2016 22:07:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.176.244 with HTTP; Tue, 6 Dec 2016 22:07:37 -0800 (PST) In-Reply-To: <1481041621440-9421.post@n6.nabble.com> References: <1480544993942-9311.post@n6.nabble.com> <1480951339082-9399.post@n6.nabble.com> <1481041621440-9421.post@n6.nabble.com> From: Yakov Zhdanov Date: Wed, 7 Dec 2016 13:07:37 +0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Not able to join cluster with Zookeeper based IP finder To: user@ignite.apache.org Content-Type: multipart/alternative; boundary=001a1149a4a47ba4b205430b5633 archived-at: Wed, 07 Dec 2016 06:07:41 -0000 --001a1149a4a47ba4b205430b5633 Content-Type: text/plain; charset=UTF-8 for some reason these two nodes register themselves with incorrect addresses or, to be more exact, incorrect ports - 47101 instead of 47500. Then they both get 2 addresses (1st is own address, 2nd is address for remote node) but cannot connect to them since port is incorrect. 2016-12-06 16:00:25,218 - INFO --- [main] .s.d.t.i.z.TcpDiscoveryZookeeperIpFinder : Registering addresses with ZooKeeper IP Finder: [ip-10-204-68-205.ec2.internal/10.204.68.205:47101] 2016-12-06 16:00:25,372 - INFO --- [main] .s.d.t.i.z.TcpDiscoveryZookeeperIpFinder : ZooKeeper IP Finder resolved addresses: [/10.204.69.145:47101, /10.204.68.205:47101] This may happen if you have address resolver configured on these two nodes. Please provide configuration for those nodes. --Yakov 2016-12-06 23:27 GMT+07:00 ghughal : > I removed 3rd client node from cluster as it's not relevant for this issue. > Here's logs for both nodes with quiet mode set to false: > > node1.log > > node2.log > > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/Not-able-to-join-cluster-with- > Zookeeper-based-IP-finder-tp9311p9421.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > --001a1149a4a47ba4b205430b5633 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
for some reason these two nodes register themselves with i= ncorrect addresses or, to be more exact, incorrect ports - 47101 instead of= 47500. Then they both get 2 addresses (1st is own address, 2nd is address = for remote node) but cannot connect to them since port is incorrect.
2016-12-06 16:00:25,218 - INFO --- [main] .s.d.t.i.z.TcpDiscove=
ryZookeeperIpFinder : Registering addresses with ZooKeeper IP Finder: [ip-1=
0-204-68-205.ec2.internal/10.204.68.=
205:47101]
2016-12-06 16:00:25,372 - INFO --- [main] .s.d.t.i.z.TcpDiscoveryZookeeperI=
pFinder : ZooKeeper IP Finder resolved addresses: [/10.204.69.145:47101, /10.204.68.205:47101]
This may happen if you have address res= olver configured on these two nodes. Please provide configuration for those= nodes.

--= Yakov

2016-12-06 23:27 GMT+07:00 ghughal <b= akul.ghughal@gmail.com>:
I = removed 3rd client node from cluster as it's not relevant for this issu= e.
Here's logs for both nodes with quiet mode set to false:

node1.log
<http://apache-ignite-users.70518.x6.nabble.com/file/n9421/node1.log>
node2.log
<http://apache-ignite-users.70518.x6.nabble.com/file/n9421/node2.log>



--
View this message in context: http://apache-ignite-users= .70518.x6.nabble.com/Not-able-to-join-cluster-with-Zookeeper= -based-IP-finder-tp9311p9421.html
Sent from the Apache Ignite Users m= ailing list archive at Nabble.com.

--001a1149a4a47ba4b205430b5633--