From user-return-11584-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Mon Jul 23 17:22:44 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 14868180647 for ; Mon, 23 Jul 2018 17:22:43 +0200 (CEST) Received: (qmail 21217 invoked by uid 500); 23 Jul 2018 15:22:42 -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 21205 invoked by uid 99); 23 Jul 2018 15:22:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2018 15:22:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A49F71A1906 for ; Mon, 23 Jul 2018 15:22:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.898 X-Spam-Level: * X-Spam-Status: No, score=1.898 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=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id CSre0lMDM-Ju for ; Mon, 23 Jul 2018 15:22:39 +0000 (UTC) Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com [209.85.218.44]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 710415F404 for ; Mon, 23 Jul 2018 15:22:39 +0000 (UTC) Received: by mail-oi0-f44.google.com with SMTP id n21-v6so1817024oig.3 for ; Mon, 23 Jul 2018 08:22:39 -0700 (PDT) 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=aJsVidYx8Bg3Ru5Oft0goeBIRIR19//3k7hHkgrMAq0=; b=iEkv2X4i8EoFUAw9MyR42w+7mGt34TulEQQdV54lmtseOeBYx6ygGHUUZjugAhFjTK Tu7ne3Sz/U9BigjvbVW0ZRMdLggFVmfG9PiOgTbXsEW7AlnO4qV9SCpze9UpMeVNllqW uulBe4c3an1dzxEKQHx9xFWZZLocZAAsXjeiWHIw06YbeoomU6CZVe2GqqFfgGgG1Abp 3h8TLoAb0vwG2sAiSlNQuqBw/91Y7pNeiq1U+Zg8hzAoWKZ3O+hMx1/DsJFieC7WY71v HDHwa1rD0454KdF7RI11IbKavU/hH8jJG8fUUANYywj26SzaiA0oqEyZVCkHVrdgwJ80 Bwzg== X-Gm-Message-State: AOUpUlEhq2vHO7VmfasXPs3gHB5fUAdxYRG/0msHRdOK/wwt+0kuqtdV F5u+RcvHze56C+rd2kxyVtxBxaqyLtbbmMiIlRF+1Gp4 X-Google-Smtp-Source: AAOMgpdqLYjFdBMFUsY1TdbqKRSXKlZYLpoklukwEeoLAzrWcUilCYNCR9uaVYEkRZMejCdJGI/dc9eLcKh6Rm0VBP0= X-Received: by 2002:aca:ba57:: with SMTP id k84-v6mr8182765oif.10.1532359352925; Mon, 23 Jul 2018 08:22:32 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:fd0:0:0:0:0:0 with HTTP; Mon, 23 Jul 2018 08:22:32 -0700 (PDT) In-Reply-To: References: From: Andor Molnar Date: Mon, 23 Jul 2018 17:22:32 +0200 Message-ID: Subject: Re: Port :3888 Bind failure To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary="000000000000e65e1b0571ac366f" --000000000000e65e1b0571ac366f Content-Type: text/plain; charset="UTF-8" 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) > --000000000000e65e1b0571ac366f--