You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by Mahadev Konar <ma...@yahoo-inc.com> on 2008/08/13 19:10:12 UTC

RE: [Zookeeper-user] FW: Client Connect Exceptions - unit tests fail

That's good to hear Satish!! Can you let us know what you intend to use Zookeeper for?

mahadev


________________________________________
From: Satish Bhatti [mailto:cthd2001@gmail.com] 
Sent: Wednesday, August 13, 2008 10:05 AM
To: Mahadev Konar
Subject: Re: [Zookeeper-user] FW: Client Connect Exceptions + Zookeeper Unit Tests fail

Hey Mahadev,

Yeah, the same Soylatte 64 bit JDK works fine on Ubuntu. I just use a Mac as my dev box, and I can use JDK 1.5 for that, so I think it should be fine.  If ZooKeeper pans out then I will probably end up using it on several hundred machines!  No doubt that will bring its own set of problems, but so far I like it a lot. :)

Satish


On Tue, Aug 12, 2008 at 2:41 PM, Mahadev Konar <ma...@yahoo-inc.com> wrote:
Hi Satish,
  This looks like a problem with your jvm 1.6 then. We use NIO framwork in Java  for receving and sending. We have seen NIO  having some bugs on some platforms. I am pretty sure that the problem you are seeing has something to do with NIO in jvm 1.6 on mac. 

Is it possible for you to use 1.5 or if not then you would have to use java 1.6 on linux or unbuntu. We have tested with sun's jvm 1.6 on linux and ubuntu but not on a mac.

mahadev



On 8/12/08 1:04 PM, "Satish Bhatti" <ct...@gmail.com> wrote:
Hey Mahadev,

So it works for me now... using JDK 1.5.  That's not so cool, because the rest of my code uses Java 1.6.  I was using the Soylatte 64 bit JVM.

java version "1.6.0_03-p3"
Java(TM) SE Runtime Environment (build 1.6.0_03-p3-landonf_03_feb_2008_01_32-b00)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-p3-landonf_03_feb_2008_01_32-b00, mixed mode)

 9.4.0 Darwin Kernel Version 9.4.0: Mon Jun  9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386 i386

Satish


On Mon, Aug 11, 2008 at 10:02 AM, Mahadev Konar <ma...@yahoo-inc.com> wrote:
Hi Satish,
  This does sound a little weird since it works perfectly on my mac.  Here is my mac config-- 

9.4.0 Darwin Kernel Version 9.4.0: M

And java 

java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)


Whats your config?

mahadev



On 8/8/08 11:16 AM, "Satish Bhatti" <cthd2001@gmail.com <ht...@gmail.com> > wrote:
Hey Mahadev,

OK, so I downloaded the latest version from trunk, and applied the patch.  Here is what I get:

CLIENT
-----------
scbmac:~/zookeeper $ java -cp zookeeper-dev.jar:src/java/lib/log4j-1.2.15.jar:conf org.apache.zookeeper.ZooKeeper 127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> 
2008-08-08 10:59:22,025 - INFO  [SendThread:ClientCnxn$SendThread@646] - Attempting connection to server /127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> 
2008-08-08 10:59:22,029 - INFO  [SendThread:ClientCnxn$SendThread@575] - Priming connection to java.nio.channels.SocketChannel[connected local=/127.0.0.1:65246 <http://127.0.0.1:65246>  <http://127.0.0.1:65246>  remote=/127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> ]


2008-08-08 10:59:22,032 - INFO  [SendThread:ClientCnxn$SendThread@710] - Server connection successful



c2008-08-08 10:59:25,365 - WARN  [SendThread:ClientCnxn$SendThread@732] - Closing: 
java.io.IOException: TIMED OUT
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:679)
null: 0--1
rea2008-08-08 10:59:26,779 - INFO  [SendThread:ClientCnxn$SendThread@646] - Attempting connection to server /127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> 
2008-08-08 10:59:26,783 - INFO  [SendThread:ClientCnxn$SendThread@575] - Priming connection to java.nio.channels.SocketChannel[connected local=/127.0.0.1:65247 <http://127.0.0.1:65247>  <http://127.0.0.1:65247>  remote=/127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> ]


2008-08-08 10:59:26,785 - INFO  [SendThread:ClientCnxn$SendThread@710] - Server connection successful
2008-08-08 10:59:30,118 - WARN  [SendThread:ClientCnxn$SendThread@732] - Closing: 
java.io.IOException: TIMED OUT
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:679)
null: 0--1
scbmac:~/zookeeper $ java -cp zookeeper-dev.jar:src/java/lib/log4j-1.2.15.jar:conf org.apache.zookeeper.ZooKeeper 127.0.0.1:21812008-08-08 11:02:25,041 - INFO  [SendThread:ClientCnxn$SendThread@646] - Attempting connection to server /127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> 
2008-08-08 11:02:25,046 - INFO  [SendThread:ClientCnxn$SendThread@575] - Priming connection to java.nio.channels.SocketChannel[connected local=/127.0.0.1:65269 <http://127.0.0.1:65269>  <http://127.0.0.1:65269>  remote=/127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> ]


2008-08-08 11:02:25,049 - INFO  [SendThread:ClientCnxn$SendThread@710] - Server connection successful
2008-08-08 11:02:28,382 - WARN  [SendThread:ClientCnxn$SendThread@732] - Closing: 
java.io.IOException: TIMED OUT
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:679)
null: 0--1
2008-08-08 11:02:29,506 - INFO  [SendThread:ClientCnxn$SendThread@646] - Attempting connection to server /127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> 
2008-08-08 11:02:29,509 - INFO  [SendThread:ClientCnxn$SendThread@575] - Priming connection to java.nio.channels.SocketChannel[connected local=/127.0.0.1:65271 <http://127.0.0.1:65271>  <http://127.0.0.1:65271>  remote=/127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> ]


2008-08-08 11:02:29,510 - INFO  [SendThread:ClientCnxn$SendThread@710] - Server connection successful
2008-08-08 11:02:32,842 - WARN  [SendThread:ClientCnxn$SendThread@732] - Closing: 
java.io.IOException: TIMED OUT
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:679)
null: 0--1
2008-08-08 11:02:34,015 - INFO  [SendThread:ClientCnxn$SendThread@646] - Attempting connection to server /127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> 
2008-08-08 11:02:34,018 - INFO  [SendThread:ClientCnxn$SendThread@575] - Priming connection to java.nio.channels.SocketChannel[connected local=/127.0.0.1:65272 <http://127.0.0.1:65272>  <http://127.0.0.1:65272>  remote=/127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> ]


2008-08-08 11:02:34,020 - INFO  [SendThread:ClientCnxn$SendThread@710] - Server connection successful
2008-08-08 11:02:37,352 - WARN  [SendThread:ClientCnxn$SendThread@732] - Closing: 
java.io.IOException: TIMED OUT
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:679)
null: 0--1


SERVER
-------------
scbmac:~/zookeeper $ java -cp zookeeper-dev.jar:src/java/lib/log4j-1.2.15.jar:conf org.apache.zookeeper.server.quorum.QuorumPeer conf/zoo.cfg
2008-08-08 10:59:22,039 - WARN  [NIOServerCxn.Factory:NIOServerCnxn@474] - Connected to /127.0.0.1:65246 <http://127.0.0.1:65246>  <http://127.0.0.1:65246>  lastZxid 0


2008-08-08 10:59:22,044 - WARN  [NIOServerCxn.Factory:NIOServerCnxn@503] - Creating new session 11ba3784d7c0000
scbmac:~/zookeeper $ java -cp zookeeper-dev.jar:src/java/lib/log4j-1.2.15.jar:conf org.apache.zookeeper.server.quorum.QuorumPeer conf/zoo.cfg
2008-08-08 11:01:59,623 - WARN  [main:ZooKeeperServer@349] - Processing snapshot: /Users/satish/zookeeper/server1/data/snapshot.0
2008-08-08 11:01:59,634 - WARN  [main:ZooKeeperServer@361] - Processing log file: /Users/satish/zookeeper/server1/data/log.1
scbmac:~/zookeeper $ rm -rf server1/data/*scbmac:~/zookeeper $ java -cp zookeeper-dev.jar:src/java/lib/log4j-1.2.15.jar:conf org.apache.zookeeper.server.quorum.QuorumPeer conf/zoo.cfg
2008-08-08 11:02:25,055 - WARN  [NIOServerCxn.Factory:NIOServerCnxn@474] - Connected to /127.0.0.1:65269 <http://127.0.0.1:65269>  <http://127.0.0.1:65269>  lastZxid 0


2008-08-08 11:02:25,059 - WARN  [NIOServerCxn.Factory:NIOServerCnxn@503] - Creating new session 11ba37b93730000
2008-08-08 11:02:25,075 - WARN  [SyncThread:NIOServerCnxn@777] - Finished init of 11ba37b93730000: true
2008-08-08 11:02:29,512 - WARN  [NIOServerCxn.Factory:NIOServerCnxn@474] - Connected to /127.0.0.1:65271 <http://127.0.0.1:65271>  <http://127.0.0.1:65271>  lastZxid 0


2008-08-08 11:02:29,515 - WARN  [NIOServerCxn.Factory:NIOServerCnxn@503] - Creating new session 11ba37b93730001
2008-08-08 11:02:29,518 - WARN  [SyncThread:NIOServerCnxn@777] - Finished init of 11ba37b93730001: true
2008-08-08 11:02:33,000 - WARN  [SessionTracker:SessionTrackerImpl@135] - Expiring 11ba37b93730000
2008-08-08 11:02:33,002 - INFO  [ProcessThread:PrepRequestProcessor@345] - Processed session termination request for id: 11ba37b93730000
2008-08-08 11:02:34,023 - WARN  [NIOServerCxn.Factory:NIOServerCnxn@474] - Connected to /127.0.0.1:65272 <http://127.0.0.1:65272>  <http://127.0.0.1:65272>  lastZxid 0


2008-08-08 11:02:34,024 - WARN  [NIOServerCxn.Factory:NIOServerCnxn@503] - Creating new session 11ba37b93730002
2008-08-08 11:02:34,027 - WARN  [SyncThread:NIOServerCnxn@777] - Finished init of 11ba37b93730002: true
2008-08-08 11:02:36,000 - WARN  [SessionTracker:SessionTrackerImpl@135] - Expiring 11ba37b93730001
2008-08-08 11:02:36,003 - INFO  [ProcessThread:PrepRequestProcessor@345] - Processed session termination request for id: 11ba37b93730001

Still no joy! :(

Satish


On Thu, Aug 7, 2008 at 11:44 AM, Mahadev Konar <mahadev@yahoo-inc.com <ht...@yahoo-inc.com> > wrote:
The only thing I see different is that you seem to be using an old version of zookeeper on apache. Can you download trunk from 


http://svn.apache.org/repos/asf/hadoop/zookeeper/trunk 

And try it again? 

The print statement -- 
"Trying to connect" is not there in the code any more.  Can you try the trunk so that the log information matches the current code in the trunk and easier to debug.

mahadev




Re: [Zookeeper-user] FW: Client Connect Exceptions - unit tests fail

Posted by Patrick Hunt <ph...@apache.org>.
Feel free to update the "poweredby" page:

http://wiki.apache.org/hadoop/ZooKeeper/PoweredBy

Patrick

Mahadev Konar wrote:
> That's good to hear Satish!! Can you let us know what you intend to use Zookeeper for?
> 
> mahadev
> 
> 
> ________________________________________
> From: Satish Bhatti [mailto:cthd2001@gmail.com] 
> Sent: Wednesday, August 13, 2008 10:05 AM
> To: Mahadev Konar
> Subject: Re: [Zookeeper-user] FW: Client Connect Exceptions + Zookeeper Unit Tests fail
> 
> Hey Mahadev,
> 
> Yeah, the same Soylatte 64 bit JDK works fine on Ubuntu. I just use a Mac as my dev box, and I can use JDK 1.5 for that, so I think it should be fine.  If ZooKeeper pans out then I will probably end up using it on several hundred machines!  No doubt that will bring its own set of problems, but so far I like it a lot. :)
> 
> Satish
> 
> 
> On Tue, Aug 12, 2008 at 2:41 PM, Mahadev Konar <ma...@yahoo-inc.com> wrote:
> Hi Satish,
>   This looks like a problem with your jvm 1.6 then. We use NIO framwork in Java  for receving and sending. We have seen NIO  having some bugs on some platforms. I am pretty sure that the problem you are seeing has something to do with NIO in jvm 1.6 on mac. 
> 
> Is it possible for you to use 1.5 or if not then you would have to use java 1.6 on linux or unbuntu. We have tested with sun's jvm 1.6 on linux and ubuntu but not on a mac.
> 
> mahadev
> 
> 
> 
> On 8/12/08 1:04 PM, "Satish Bhatti" <ct...@gmail.com> wrote:
> Hey Mahadev,
> 
> So it works for me now... using JDK 1.5.  That's not so cool, because the rest of my code uses Java 1.6.  I was using the Soylatte 64 bit JVM.
> 
> java version "1.6.0_03-p3"
> Java(TM) SE Runtime Environment (build 1.6.0_03-p3-landonf_03_feb_2008_01_32-b00)
> Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-p3-landonf_03_feb_2008_01_32-b00, mixed mode)
> 
>  9.4.0 Darwin Kernel Version 9.4.0: Mon Jun  9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386 i386
> 
> Satish
> 
> 
> On Mon, Aug 11, 2008 at 10:02 AM, Mahadev Konar <ma...@yahoo-inc.com> wrote:
> Hi Satish,
>   This does sound a little weird since it works perfectly on my mac.  Here is my mac config-- 
> 
> 9.4.0 Darwin Kernel Version 9.4.0: M
> 
> And java 
> 
> java version "1.5.0_13"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
> Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)
> 
> 
> Whats your config?
> 
> mahadev
> 
> 
> 
> On 8/8/08 11:16 AM, "Satish Bhatti" <cthd2001@gmail.com <ht...@gmail.com> > wrote:
> Hey Mahadev,
> 
> OK, so I downloaded the latest version from trunk, and applied the patch.  Here is what I get:
> 
> CLIENT
> -----------
> scbmac:~/zookeeper $ java -cp zookeeper-dev.jar:src/java/lib/log4j-1.2.15.jar:conf org.apache.zookeeper.ZooKeeper 127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> 
> 2008-08-08 10:59:22,025 - INFO  [SendThread:ClientCnxn$SendThread@646] - Attempting connection to server /127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> 
> 2008-08-08 10:59:22,029 - INFO  [SendThread:ClientCnxn$SendThread@575] - Priming connection to java.nio.channels.SocketChannel[connected local=/127.0.0.1:65246 <http://127.0.0.1:65246>  <http://127.0.0.1:65246>  remote=/127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> ]
> 
> 
> 2008-08-08 10:59:22,032 - INFO  [SendThread:ClientCnxn$SendThread@710] - Server connection successful
> 
> 
> 
> c2008-08-08 10:59:25,365 - WARN  [SendThread:ClientCnxn$SendThread@732] - Closing: 
> java.io.IOException: TIMED OUT
>         at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:679)
> null: 0--1
> rea2008-08-08 10:59:26,779 - INFO  [SendThread:ClientCnxn$SendThread@646] - Attempting connection to server /127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> 
> 2008-08-08 10:59:26,783 - INFO  [SendThread:ClientCnxn$SendThread@575] - Priming connection to java.nio.channels.SocketChannel[connected local=/127.0.0.1:65247 <http://127.0.0.1:65247>  <http://127.0.0.1:65247>  remote=/127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> ]
> 
> 
> 2008-08-08 10:59:26,785 - INFO  [SendThread:ClientCnxn$SendThread@710] - Server connection successful
> 2008-08-08 10:59:30,118 - WARN  [SendThread:ClientCnxn$SendThread@732] - Closing: 
> java.io.IOException: TIMED OUT
>         at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:679)
> null: 0--1
> scbmac:~/zookeeper $ java -cp zookeeper-dev.jar:src/java/lib/log4j-1.2.15.jar:conf org.apache.zookeeper.ZooKeeper 127.0.0.1:21812008-08-08 11:02:25,041 - INFO  [SendThread:ClientCnxn$SendThread@646] - Attempting connection to server /127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> 
> 2008-08-08 11:02:25,046 - INFO  [SendThread:ClientCnxn$SendThread@575] - Priming connection to java.nio.channels.SocketChannel[connected local=/127.0.0.1:65269 <http://127.0.0.1:65269>  <http://127.0.0.1:65269>  remote=/127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> ]
> 
> 
> 2008-08-08 11:02:25,049 - INFO  [SendThread:ClientCnxn$SendThread@710] - Server connection successful
> 2008-08-08 11:02:28,382 - WARN  [SendThread:ClientCnxn$SendThread@732] - Closing: 
> java.io.IOException: TIMED OUT
>         at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:679)
> null: 0--1
> 2008-08-08 11:02:29,506 - INFO  [SendThread:ClientCnxn$SendThread@646] - Attempting connection to server /127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> 
> 2008-08-08 11:02:29,509 - INFO  [SendThread:ClientCnxn$SendThread@575] - Priming connection to java.nio.channels.SocketChannel[connected local=/127.0.0.1:65271 <http://127.0.0.1:65271>  <http://127.0.0.1:65271>  remote=/127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> ]
> 
> 
> 2008-08-08 11:02:29,510 - INFO  [SendThread:ClientCnxn$SendThread@710] - Server connection successful
> 2008-08-08 11:02:32,842 - WARN  [SendThread:ClientCnxn$SendThread@732] - Closing: 
> java.io.IOException: TIMED OUT
>         at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:679)
> null: 0--1
> 2008-08-08 11:02:34,015 - INFO  [SendThread:ClientCnxn$SendThread@646] - Attempting connection to server /127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> 
> 2008-08-08 11:02:34,018 - INFO  [SendThread:ClientCnxn$SendThread@575] - Priming connection to java.nio.channels.SocketChannel[connected local=/127.0.0.1:65272 <http://127.0.0.1:65272>  <http://127.0.0.1:65272>  remote=/127.0.0.1:2181 <http://127.0.0.1:2181>  <http://127.0.0.1:2181> ]
> 
> 
> 2008-08-08 11:02:34,020 - INFO  [SendThread:ClientCnxn$SendThread@710] - Server connection successful
> 2008-08-08 11:02:37,352 - WARN  [SendThread:ClientCnxn$SendThread@732] - Closing: 
> java.io.IOException: TIMED OUT
>         at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:679)
> null: 0--1
> 
> 
> SERVER
> -------------
> scbmac:~/zookeeper $ java -cp zookeeper-dev.jar:src/java/lib/log4j-1.2.15.jar:conf org.apache.zookeeper.server.quorum.QuorumPeer conf/zoo.cfg
> 2008-08-08 10:59:22,039 - WARN  [NIOServerCxn.Factory:NIOServerCnxn@474] - Connected to /127.0.0.1:65246 <http://127.0.0.1:65246>  <http://127.0.0.1:65246>  lastZxid 0
> 
> 
> 2008-08-08 10:59:22,044 - WARN  [NIOServerCxn.Factory:NIOServerCnxn@503] - Creating new session 11ba3784d7c0000
> scbmac:~/zookeeper $ java -cp zookeeper-dev.jar:src/java/lib/log4j-1.2.15.jar:conf org.apache.zookeeper.server.quorum.QuorumPeer conf/zoo.cfg
> 2008-08-08 11:01:59,623 - WARN  [main:ZooKeeperServer@349] - Processing snapshot: /Users/satish/zookeeper/server1/data/snapshot.0
> 2008-08-08 11:01:59,634 - WARN  [main:ZooKeeperServer@361] - Processing log file: /Users/satish/zookeeper/server1/data/log.1
> scbmac:~/zookeeper $ rm -rf server1/data/*scbmac:~/zookeeper $ java -cp zookeeper-dev.jar:src/java/lib/log4j-1.2.15.jar:conf org.apache.zookeeper.server.quorum.QuorumPeer conf/zoo.cfg
> 2008-08-08 11:02:25,055 - WARN  [NIOServerCxn.Factory:NIOServerCnxn@474] - Connected to /127.0.0.1:65269 <http://127.0.0.1:65269>  <http://127.0.0.1:65269>  lastZxid 0
> 
> 
> 2008-08-08 11:02:25,059 - WARN  [NIOServerCxn.Factory:NIOServerCnxn@503] - Creating new session 11ba37b93730000
> 2008-08-08 11:02:25,075 - WARN  [SyncThread:NIOServerCnxn@777] - Finished init of 11ba37b93730000: true
> 2008-08-08 11:02:29,512 - WARN  [NIOServerCxn.Factory:NIOServerCnxn@474] - Connected to /127.0.0.1:65271 <http://127.0.0.1:65271>  <http://127.0.0.1:65271>  lastZxid 0
> 
> 
> 2008-08-08 11:02:29,515 - WARN  [NIOServerCxn.Factory:NIOServerCnxn@503] - Creating new session 11ba37b93730001
> 2008-08-08 11:02:29,518 - WARN  [SyncThread:NIOServerCnxn@777] - Finished init of 11ba37b93730001: true
> 2008-08-08 11:02:33,000 - WARN  [SessionTracker:SessionTrackerImpl@135] - Expiring 11ba37b93730000
> 2008-08-08 11:02:33,002 - INFO  [ProcessThread:PrepRequestProcessor@345] - Processed session termination request for id: 11ba37b93730000
> 2008-08-08 11:02:34,023 - WARN  [NIOServerCxn.Factory:NIOServerCnxn@474] - Connected to /127.0.0.1:65272 <http://127.0.0.1:65272>  <http://127.0.0.1:65272>  lastZxid 0
> 
> 
> 2008-08-08 11:02:34,024 - WARN  [NIOServerCxn.Factory:NIOServerCnxn@503] - Creating new session 11ba37b93730002
> 2008-08-08 11:02:34,027 - WARN  [SyncThread:NIOServerCnxn@777] - Finished init of 11ba37b93730002: true
> 2008-08-08 11:02:36,000 - WARN  [SessionTracker:SessionTrackerImpl@135] - Expiring 11ba37b93730001
> 2008-08-08 11:02:36,003 - INFO  [ProcessThread:PrepRequestProcessor@345] - Processed session termination request for id: 11ba37b93730001
> 
> Still no joy! :(
> 
> Satish
> 
> 
> On Thu, Aug 7, 2008 at 11:44 AM, Mahadev Konar <mahadev@yahoo-inc.com <ht...@yahoo-inc.com> > wrote:
> The only thing I see different is that you seem to be using an old version of zookeeper on apache. Can you download trunk from 
> 
> 
> http://svn.apache.org/repos/asf/hadoop/zookeeper/trunk 
> 
> And try it again? 
> 
> The print statement -- 
> "Trying to connect" is not there in the code any more.  Can you try the trunk so that the log information matches the current code in the trunk and easier to debug.
> 
> mahadev
> 
> 
>