Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6A31E1068C for ; Thu, 25 Jul 2013 06:48:44 +0000 (UTC) Received: (qmail 92590 invoked by uid 500); 25 Jul 2013 06:48:36 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 92498 invoked by uid 500); 25 Jul 2013 06:48:35 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 92489 invoked by uid 99); 25 Jul 2013 06:48:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 06:48:32 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of adityaexalter@gmail.com designates 209.85.214.177 as permitted sender) Received: from [209.85.214.177] (HELO mail-ob0-f177.google.com) (209.85.214.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 06:48:26 +0000 Received: by mail-ob0-f177.google.com with SMTP id ta17so693161obb.22 for ; Wed, 24 Jul 2013 23:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nKCWjr06jL5SjhPE+1i5XO/gnPSm/dl8tSxU3syv+IU=; b=se6rBiEiAr4MoL2/Z0orFK74wlYpaLQaC4mAURr0tu5IXqhhfmfH5ZmvivnE+HP134 B4Sox8s1BZtTc+LTsskOCBj/3ch/61ZtHe7yVsJYM5CgU6kkWTnyjVm3lcc9qM4x5HDG qEE2IKxX+IWWizlDZL7XkyHZpz65zYqwGuUoFE++jmuXwo2cR7UvirFVMlaYMokArv1m PxUq9okvyKyK+yaoBVriYDsF55OS1CXCz9MbNvW0mqZPMk5fYT6LC6yu6qjFI99F359K XQ53E7HT7On9Gy3dzJGkH8wMz8EmLNnWSnBPMfin2JLZVb2Mpretwh2wNC2jqJOWq6Y2 rrLg== MIME-Version: 1.0 X-Received: by 10.60.77.70 with SMTP id q6mr40266554oew.98.1374734885422; Wed, 24 Jul 2013 23:48:05 -0700 (PDT) Received: by 10.182.110.106 with HTTP; Wed, 24 Jul 2013 23:48:05 -0700 (PDT) Date: Thu, 25 Jul 2013 12:18:05 +0530 Message-ID: Subject: Zookeeper is not communicating From: Aditya exalter To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7b33d3e081892504e250687b X-Virus-Checked: Checked by ClamAV on apache.org --047d7b33d3e081892504e250687b Content-Type: text/plain; charset=ISO-8859-1 HI, while I run zkCli.sh -server 192.168.0.199:2181 where is ip 192.168.0.199 is one of my zookeeper quorum. my logs are client /127.0.0.1:41621 (no session established for client) 2013-07-25 12:13:05,767 [myid:1] - INFO [NIOServerCxn.Factory: 0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection from /127.0.0.1:41625 2013-07-25 12:13:05,768 [myid:1] - WARN [NIOServerCxn.Factory: 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@354] - Exception causing close of session 0x0 due to java.io.IOException: ZooKeeperServer not running 2013-07-25 12:13:05,768 [myid:1] - INFO [NIOServerCxn.Factory: 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1001] - Closed socket connection for client /127.0.0.1:41625 (no session established for client) 2013-07-25 12:13:06,539 [myid:1] - INFO [NIOServerCxn.Factory: 0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection from /127.0.0.1:41628 2013-07-25 12:13:06,789 [myid:1] - WARN [NIOServerCxn.Factory: 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@354] - Exception causing close of session 0x0 due to java.io.IOException: ZooKeeperServer not running my zookeeper server is running. Socket connection established to 192.168.0.104:2181, initiating session 2013-07-25 11:47:10,276 [myid:] - INFO [main-SendThread(aditya.com:2181 ):ClientCnxn$SendThread@1085] - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect my zoo.cfg is maxClientCnxns=50 # The number of milliseconds of each tick tickTime=2000 # The number of ticks that the initial # synchronization phase can take initLimit=5 # The number of ticks that can pass between # sending a request and getting an acknowledgement syncLimit=2 # the directory where the snapshot is stored. dataDir=/var/lib/zookeeper # the port at which the clients will connect clientPort=2181 server.1=192.168.0.104:2888:3888 server.2=192.168.0.116:2888:3888 server.3=192.168.0.199:2888:3888 Please look into the issue. Thanks & regards, Aditya K. --047d7b33d3e081892504e250687b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
HI,
=A0 =A0=A0


client /127.0.0.1:41621 (no session established for cl= ient)
2013-07-25 12:13:05,767 [myid:1] - INFO =A0[NIOServerCxn.Fa= ctory:0.0.= 0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection= from /127.0.0.1:41625
2013-07-25 12:13:05,768 [myid:1] - WARN =A0[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:N= IOServerCnxn@354] - Exception causing close of session 0x0 due to java.= io.IOException: ZooKeeperServer not running
2013-07-25 12:13:05,768 [myid:1] - INFO =A0[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:= NIOServerCnxn@1001] - Closed socket connection for client /127.0.0.1:41625 (no session established for clie= nt)
2013-07-25 12:13:06,539 [myid:1] - INFO =A0[NIOServerCxn.Factory:0.0.0.0/0.0.0.0= :2181:NIOServerCnxnFactory@197] - Accepted socket connection from /127.0.0.1:41628
2013-07-25 12:13:06,789 [myid:1] - WARN =A0[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:N= IOServerCnxn@354] - Exception causing close of session 0x0 due to java.= io.IOException: ZooKeeperServer not running
=A0my zookeeper server is running.

Socket connection established to 192.168.0.104:2181, initiating session
2013-07-25 11= :47:10,276 [myid:] - INFO =A0[main-SendThread(aditya.com:2181):ClientCnxn$S= endThread@1085] - Unable to read additional data from server sessionid 0x0,= likely server has closed socket, closing socket connection and attempting = reconnect


my zoo.cfg =A0is=

maxClientCnxns=3D50
# = The number of milliseconds of each tick
tickTime=3D2000
# The number of ticks that the initial=A0
# synchronization phase can take
initLimit=3D5
# T= he number of ticks that can pass between=A0
# sending a request a= nd getting an acknowledgement
syncLimit=3D2
# the direc= tory where the snapshot is stored.
dataDir=3D/var/lib/zookeeper
# the port at which the clients= will connect
clientPort=3D2181
server.1=3D192.168.0.10= 4:2888:3888
server.2=3D192.168.0.116:2888:3888
server.3= =3D192.168.0.199:2888:3888

Please look into the issue.

<= /div>
Thanks & regards,
Aditya K.
= --047d7b33d3e081892504e250687b--