Thanks for your reply Flavio, I apologize - just figured it out. We have here sort of security by obscurity, so it was firewall/traffic inspection issue. Finally i just moved my test installation to separate VM, so now I'm able to connect via console.
13.11.2012, 13:50, "Flavio Junqueira" <[email protected]>: > Hi Denis, It sounds like your BK client is not connected to ZooKeeper. Could > you make sure that the zookeeper server started correctly? When you run: > > bookkeeper-server/bin/bookkeeper localbookie 5 > > you should get something like this: > > JMX enabled by default > 2012-11-13 12:43:50,573 - INFO - [main:LocalBookKeeper@59] - Running > 5 bookie(s). > 2012-11-13 12:43:50,691 - INFO - [main:LocalBookKeeper@165] - Using > configuration file code/workspace/bookkeeper-apache-trunk/bookkeeper- > server/conf/bk_server.conf > 2012-11-13 12:43:50,692 - INFO - [main:LocalBookKeeper@82] - > Starting ZK server > 2012-11-13 12:43:50,900 - INFO - [main:Environment@98] - Server > environment:zookeeper.version=3.4.3-1240972, built on 02/06/2012 10:48 GMT > 2012-11-13 12:43:50,901 - INFO - [main:Environment@98] - Server > environment:host.name=IP > 2012-11-13 12:43:50,901 - INFO - [main:Environment@98] - Server > environment:java.version=1.6.0_33 > 2012-11-13 12:43:50,901 - INFO - [main:Environment@98] - Server > environment:java.vendor=Apple Inc. > 2012-11-13 12:43:50,902 - INFO - [main:Environment@98] - Server > environment:java.home=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home > > -Flavio > > On Nov 13, 2012, at 12:04 PM, Denis Zinevich wrote: > >> Hi all, >> >> We're trying to test bookkeeper + hedwig. I've made quick install on one >> machine - just as described in dev's guide. >> Running localbookie and headwig. >> When I'm trying to connect using console from remote machine i get: >> ----- >> 2012-11-13 12:49:46,330 - INFO - [main:ZooKeeper@433] - Initiating client >> connection, connectString=192.168.1.1:2181 sessionTimeout=2000 >> watcher=org.apache.hedwig.admin.HedwigAdmin$MyWatcher@392d263f >> 2012-11-13 12:49:46,355 - INFO - >> [main-SendThread():ClientCnxn$SendThread@933] - Opening socket connection to >> server /192.168.1.1:2181 >> 2012-11-13 12:49:46,410 - ERROR - [main:BookKeeper@201] - Unconnected >> zookeeper handle passed to bookkeeper >> Exception in thread "main" java.io.IOException: >> org.apache.zookeeper.KeeperException$ConnectionLossException: >> KeeperErrorCode = ConnectionLoss >> ----- >> >> ports are open, can connect via telnet. >> Any suggestions ? >> >> thanks in advance. >> >> -- >> Denis
