From user-return-11586-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Mon Jul 23 21:43:30 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 41911180647 for ; Mon, 23 Jul 2018 21:43:30 +0200 (CEST) Received: (qmail 56963 invoked by uid 500); 23 Jul 2018 19:43:29 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 56951 invoked by uid 99); 23 Jul 2018 19:43:28 -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; Mon, 23 Jul 2018 19:43:28 +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 DF791180812 for ; Mon, 23 Jul 2018 19:43:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.869 X-Spam-Level: * X-Spam-Status: No, score=1.869 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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id pHS80xE_dkoR for ; Mon, 23 Jul 2018 19:43:26 +0000 (UTC) Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 10AA85F30B for ; Mon, 23 Jul 2018 19:43:26 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id o18-v6so283222wmc.0 for ; Mon, 23 Jul 2018 12:43:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=LZjte4iEHyaIBNDmaQlwXl3xK9okFKWKzm2BVsnS8c0=; b=kGaCzbYOOacf48ZTaWgnSrrU6/6q7A9x6Sas1lbwqJWbrxDu1xbFX01WBnCQAt6ur2 jzqebgmGNotONIj9pWojPavVlP4P4NRyS/LlNzXi6dRxu/ewqxpJcAlAm/ZOUOBA8Fg4 /ikrKHSadR3AAC8MPyHZSigDtFEP9QmsXzDT8Q1WACW+YTKnfNNlq75N+GXqHzC3AYfL 0l1XSA/Um3Iibt0zwP92lo5dZaPbCRkAjGTjXWlHSyvT5pIgxq9szn8D3XJy0c3hHMYq D1bIyxAMP3nbOnsg07Hxu4S+PGgrwPGcO7l/DEUCy6wUHMgnKYnKi5FMmywnlWTyDXBD h09w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=LZjte4iEHyaIBNDmaQlwXl3xK9okFKWKzm2BVsnS8c0=; b=MEc8bloMkvIRjBXET30YBCxPW/tk2Vlw40uuDfSWdjVona2PgAa9n+tY/EFM8Ff89h CCy5jcQZWipu4xLu5xw3jo2CPSSAHFVWHvaRNimcK3nXkGpBOj3dIrkYW5QSskBAOM5V Ib5GopkbsvXPoCivovKudYz0dDKsEg7aHXSSludy3wWnvbXvSxyEr+tbitKt2cTeb4yS KYMLASkS9cyWi5FzKp7NP/eFUfX3sD/9Wnn6afya2qS0rMkq35LXxgpG+0kD8lOJH6cI mhdae/13V/x2QjVBoNSpdFxz5A9+UdkwLCbXUbuyt7bswcjN/G0Iq6bueQRROWNSOR8J Ccig== X-Gm-Message-State: AOUpUlHObqhFNzFDKmYS/1AkNW+x0ibSisPeC/S8JB51k8dnyedDXyPc lEuxbQCW1pzgyGPHZuIi/YhJ4Jo+7d9xxV72SD5Kxg== X-Google-Smtp-Source: AAOMgpcaDu0WbfTvqlsoBc7dns6MwOB7fwBuAV5PZhg8mr8S1dU+t14SlQrM9HgUNi69YkFEy7/Tf+3ha7M9Di8wDys= X-Received: by 2002:a1c:9755:: with SMTP id z82-v6mr204104wmd.104.1532375005486; Mon, 23 Jul 2018 12:43:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: harish lohar Date: Mon, 23 Jul 2018 15:43:14 -0400 Message-ID: Subject: Re: Port :3888 Bind failure To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary="000000000000dd61ca0571afdb22" --000000000000dd61ca0571afdb22 Content-Type: text/plain; charset="UTF-8" Another Question on the same line, are there any specific number of retries configured in zookeeper in case there is intermittent problem with the interface or they are infinite ?? On Mon, Jul 23, 2018 at 2:37 PM harish lohar wrote: > Thanks Andor, > We found some issue with our interface configuration and correcting same > has solved the issue. > > Thanks > Harish > > On Mon, Jul 23, 2018 at 11:22 AM Andor Molnar > wrote: > >> Hi, >> >> Is the IP address valid that you're trying to bind the server? >> Please tell me some info about your environment: cloud? docker? >> kubernetes? >> ZooKeeper config files would also be beneficial to take a look. >> >> Regards, >> Andor >> >> >> >> >> On Mon, Jul 23, 2018 at 5:02 PM, harish lohar wrote: >> >> > Hi , >> > >> > I am seeing bind failure for zookeeper ports, these are random and not >> > easily reproducible. >> > There was no one else listening on these ports. >> > >> > We have recently upgraded to 3.5.4-beta , earlier i never saw this issue >> > >> > 2018-07-22 00:08:59,409 [myid:] - WARN [main:QuorumPeerConfig@644] - >> > Non-optimial configuration, consider an odd number of servers. >> > 2018-07-22 00:08:59,707 [myid:181] - ERROR >> > [/xx.xx.xxx.xxx:3888:QuorumCnxManager$Listener@878] - Exception while >> > listening >> > java.net.BindException: Cannot assign requested address (Bind failed) >> > at java.net.PlainSocketImpl.socketBind(Native Method) >> > at java.net >> .AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387) >> > at java.net.ServerSocket.bind(ServerSocket.java:375) >> > at java.net.ServerSocket.bind(ServerSocket.java:329) >> > at >> > org.apache.zookeeper.server.quorum.QuorumCnxManager$ >> > Listener.run(QuorumCnxManager.java:856) >> > ket.bind(ServerSocket.java:329) >> > >> > --000000000000dd61ca0571afdb22--