Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B22CD6C4B for ; Mon, 16 May 2011 19:10:19 +0000 (UTC) Received: (qmail 36821 invoked by uid 500); 16 May 2011 19:10:19 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 36793 invoked by uid 500); 16 May 2011 19:10:19 -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 36785 invoked by uid 99); 16 May 2011 19:10:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 May 2011 19:10:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of brian.takita@gmail.com designates 209.85.161.42 as permitted sender) Received: from [209.85.161.42] (HELO mail-fx0-f42.google.com) (209.85.161.42) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 May 2011 19:10:12 +0000 Received: by fxm1 with SMTP id 1so3991332fxm.15 for ; Mon, 16 May 2011 12:09:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=ooSCH+BBmYAltvxnEmxSpnrTU3BqhGzJRwf1GUgmKbQ=; b=vBCacAKR79v2acJP1eYYLRA2tawxbl9r+pUQljz42py+r8bHVDs6M4Ihw3VOl0FTIt Sgl/EsIfIUxwqy0GAbqNbOMOPWZEIVKnFk7JkKVtJCWB8GOhRIEJi+IWOyWXvws/kgAu lzROhJmlr/Nb562vOvQuJ1M8W25JJ7KIPKhgs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Fa38H2LAlccQpOQYOsohv78HJ2JdzrWB0NTRz+xxoa11+saCJSV4zJp1+nxopuHU8T SvTYk/NxMur6jkRFEXc2mwOdM6DOfNu4IcFczFHuRmAXnOZFlZH47q/Ceh6I8GqLAb8g sxPK72e8Q9k4yIsLyjEeh9Xx2CpHPcoXN6BSo= MIME-Version: 1.0 Received: by 10.223.17.142 with SMTP id s14mr2564363faa.145.1305572992056; Mon, 16 May 2011 12:09:52 -0700 (PDT) Received: by 10.223.75.206 with HTTP; Mon, 16 May 2011 12:09:51 -0700 (PDT) Date: Mon, 16 May 2011 12:09:51 -0700 Message-ID: Subject: Timeout errors from the Ruby client library (get_children) From: Brian Takita To: user@zookeeper.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hello, I am attempting to call get_children on any node, however, I am receiving a timeout error. The rc is -7. The get command seems to work and recognize the correct number of children. When I run zkCli.sh on any of the zookeeper instances, ls / works. I am seeing the following log entries on one of the instances: 2011-05-16 18:58:36,924 - INFO [NIOServerCxn.Factory:2181:NIOServerCnxn@607] - Connected to /10.162.157.123:60135 lastZxid 0 2011-05-16 18:58:36,925 - INFO [NIOServerCxn.Factory:2181:NIOServerCnxn@992] - Finished init of 0x22fe336b7ca000d valid:true 2011-05-16 18:58:36,925 - INFO [NIOServerCxn.Factory:2181:NIOServerCnxn@636] - Renewing session 0x22fe336b7ca000d 2011-05-16 18:58:36,925 - WARN [NIOServerCxn.Factory:2181:NIOServerCnxn@518] - Exception causing close of session 0x22fe336b7ca000d due to java.io.IOException: Read error 2011-05-16 18:58:36,925 - INFO [NIOServerCxn.Factory:2181:NIOServerCnxn@857] - closing session:0x22fe336b7ca000d NIOServerCnxn: java.nio.channels.SocketChannel[connected local=/10.1 38842 62.151.144:2181 remote=/10.162.157.123:60135] I'm running 5 zookeeper servers on EC2. I can ping each instance from the other instances. Basically, they all belong to the same security group. I'm having a tough time knowing where to look for this Read error. Any hints? Thanks, Brian