You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by danoomistmatiste <kk...@yahoo.com> on 2012/01/26 05:52:33 UTC

Problem with port 2181

Hi,  I have a pseudo distributed cluster of CDH3 U1.  I am running Hadoop and
HBase.   I have not installed zookeeper separately in it's own directory so
when I startup HBase, I guess the default embedded zookeeper process
(HQuorumPeer) process starts up.

The problem is,  I am trying to connect to HBase from an external client, 
with localhost and port 2181.   In the zookeeper logs, I do see that it
receives the request but the client is not able to get the required info
which is the list of HBase tables,  I see the following messages in the log
file,

2012-01-25 20:52:08,327 INFO org.apache.zookeeper.server.NIOServerCnxn:
Accepted socket connection from /127.0.0.1:50464
2012-01-25 20:52:08,327 INFO org.apache.zookeeper.server.NIOServerCnxn:
Client attempting to establish new session at /127.0.0.1:50464
2012-01-25 20:52:08,328 INFO org.apache.zookeeper.server.NIOServerCnxn:
Established session 0x135185968cd0005 with negotiated timeout 180000 for
client /127.0.0.1:50464
2012-01-25 20:52:08,329 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
KeeperException when processing sessionid:0x135185968cd0005 type:create
cxid:0x1 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
Path:/hbase Error:KeeperErrorCode = NodeExists for /hbase
2012-01-25 20:52:08,329 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
KeeperException when processing sessionid:0x135185968cd0005 type:create
cxid:0x2 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
Path:/hbase/unassigned Error:KeeperErrorCode = NodeExists for
/hbase/unassigned
2012-01-25 20:52:08,330 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
KeeperException when processing sessionid:0x135185968cd0005 type:create
cxid:0x3 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
Path:/hbase/rs Error:KeeperErrorCode = NodeExists for /hbase/rs
2012-01-25 20:52:08,330 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
KeeperException when processing sessionid:0x135185968cd0005 type:create
cxid:0x4 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
Path:/hbase/table Error:KeeperErrorCode = NodeExists for /hbase/table
2012-01-25 20:52:08,336 INFO org.apache.zookeeper.server.NIOServerCnxn:
Accepted socket connection from /fe80:0:0:0:0:0:0:1%1:50466
2012-01-25 20:52:08,336 INFO org.apache.zookeeper.server.NIOServerCnxn:
Client attempting to establish new session at /fe80:0:0:0:0:0:0:1%1:50466
2012-01-25 20:52:08,337 INFO org.apache.zookeeper.server.NIOServerCnxn:
Established session 0x135185968cd0006 with negotiated timeout 180000 for
client /fe80:0:0:0:0:0:0:1%1:50466
2012-01-25 20:52:08,337 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
KeeperException when processing sessionid:0x135185968cd0006 type:create
cxid:0x1 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
Path:/hbase Error:KeeperErrorCode = NodeExists for /hbase
2012-01-25 20:52:08,338 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
KeeperException when processing sessionid:0x135185968cd0006 type:create
cxid:0x2 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
Path:/hbase/unassigned Error:KeeperErrorCode = NodeExists for
/hbase/unassigned
2012-01-25 20:52:08,338 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
KeeperException when processing sessionid:0x135185968cd0006 type:create
cxid:0x3 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
Path:/hbase/rs Error:KeeperErrorCode = NodeExists for /hbase/rs
2012-01-25 20:52:08,339 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
KeeperException when processing sessionid:0x135185968cd0006 type:create
cxid:0x4 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
Path:/hbase/table Error:KeeperErrorCode = NodeExists for /hbase/table
2012-01-25 20:52:08,348 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Processed session
termination for sessionid: 0x135185968cd0006
2012-01-25 20:52:08,349 INFO org.apache.zookeeper.server.NIOServerCnxn:
Closed socket connection for client /fe80:0:0:0:0:0:0:1%1:50466 which had
sessionid 0x135185968cd0006

--
View this message in context: http://zookeeper-user.578899.n2.nabble.com/Problem-with-port-2181-tp7226016p7226016.html
Sent from the zookeeper-user mailing list archive at Nabble.com.