hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Irooniam <iroon...@gmail.com>
Subject zookeeper lost connection error
Date Sat, 19 Mar 2011 02:31:07 GMT
Hello,

so I'm trying to get hbase installed.

I've followed the instructions on the quick-tutorial and I can startup hbase
but when I actually try to create a table I get an error.

Looking at the log file here's the output:

2011-03-18 17:20:44,695 INFO org.apache.zookeeper.
ZooKeeper: Initiating client connection, connectString=localhost:2181
sessionTimeout=180000 watcher=hconnection
2011-03-18 17:20:44,706 INFO org.apache.zookeeper.ClientCnxn: Opening socket
connection to server localhost/127.0.0.1:2181
2011-03-18 17:20:44,706 INFO org.apache.zookeeper.server.NIOServerCnxn:
Accepted socket connection from /127.0.0.1:40587
2011-03-18 17:20:44,707 INFO org.apache.zookeeper.ClientCnxn: Socket
connection established to localhost/127.0.0.1:2181, initiating session
2011-03-18 17:20:44,707 INFO org.apache.zookeeper.server.NIOServerCnxn:
Client attempting to establish new session at /127.0.0.1:40587
2011-03-18 17:20:44,708 INFO org.apache.zookeeper.server.NIOServerCnxn:
Established session 0x12ecb7c4cad0001 with negotiated timeout 40000 for
client /127.0.0.1:40587
2011-03-18 17:20:44,708 INFO org.apache.zookeeper.ClientCnxn: Session
establishment complete on server localhost/127.0.0.1:2181, sessionid =
0x12ecb7c4cad0001, negotiated timeout = 40000
2011-03-18 17:20:44,710 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
KeeperException when processing sessionid:0x12ecb7c4cad0001 type:create
cxid:0x1 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
Path:/hbase Error:KeeperErrorCode = NodeExists for /hbase
2011-03-18 17:20:44,712 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
KeeperException when processing sessionid:0x12ecb7c4cad0001 type:create
cxid:0x2 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
Path:/hbase/unassigned Error:KeeperErrorCode = NodeExists for
/hbase/unassigned
2011-03-18 17:20:44,713 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
KeeperException when processing sessionid:0x12ecb7c4cad0001 type:create
cxid:0x3 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
Path:/hbase/rs Error:KeeperErrorCode = NodeExists for /hbase/rs
2011-03-18 17:20:44,714 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
KeeperException when processing sessionid:0x12ecb7c4cad0001 type:create
cxid:0x4 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
Path:/hbase/table Error:KeeperErrorCode = NodeExists for /hbase/table
2011-03-18 17:20:44,726 INFO org.apache.hadoop.hbase.ipc.HBaseRpcMetrics:
Initializing RPC Metrics with hostName=HRegionServer, port=35545
2011-03-18 17:20:44,744 INFO
org.apache.hadoop.hbase.master.ActiveMasterManager: Master=hadoop1:47967
2011-03-18 17:20:44,752 INFO org.apache.zookeeper.ZooKeeper: Initiating
client connection, connectString=localhost:2181 sessionTimeout=180000
watcher=regionserver:35545
2011-03-18 17:20:44,757 INFO org.apache.zookeeper.ClientCnxn: Opening socket
connection to server localhost/127.0.0.1:2181
2011-03-18 17:20:44,757 INFO org.apache.zookeeper.server.NIOServerCnxn:
Accepted socket connection from /127.0.0.1:40588
2011-03-18 17:20:44,757 INFO org.apache.zookeeper.ClientCnxn: Socket
connection established to localhost/127.0.0.1:2181, initiating session
2011-03-18 17:20:44,758 INFO org.apache.zookeeper.server.NIOServerCnxn:
Client attempting to establish new session at /127.0.0.1:40588
2011-03-18 17:20:44,762 INFO org.apache.zookeeper.server.NIOServerCnxn:
Established session 0x12ecb7c4cad0002 with negotiated timeout 40000 for
client /127.0.0.1:40588
2011-03-18 17:20:44,762 INFO org.apache.zookeeper.ClientCnxn: Session
establishment complete on server localhost/127.0.0.1:2181, sessionid =
0x12ecb7c4cad0002, negotiated timeout = 40000
2011-03-18 17:20:44,763 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
KeeperException when processing sessionid:0x12ecb7c4cad0002 type:create
cxid:0x1 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
Path:/hbase Error:KeeperErrorCode = NodeExists for /hbase
2011-03-18 17:20:44,765 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
KeeperException when processing sessionid:0x12ecb7c4cad0002 type:create
cxid:0x2 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
Path:/hbase/unassigned Error:KeeperErrorCode = NodeExists for
/hbase/unassigned
2011-03-18 17:20:44,766 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
KeeperException when processing sessionid:0x12ecb7c4cad0002 type:create
cxid:0x3 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
Path:/hbase/rs Error:KeeperErrorCode = NodeExists for /hbase/rs
2011-03-18 17:20:44,767 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
KeeperException when processing sessionid:0x12ecb7c4cad0002 type:create
cxid:0x4 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
Path:/hbase/table Error:KeeperErrorCode = NodeExists for /hbase/table
2011-03-18 17:20:45,028 FATAL org.apache.hadoop.hbase.master.HMaster:
Unhandled exception. Starting shutdown.
java.lang.StackOverflowError
    at java.lang.String.indexOf(String.java:1521)
    at java.net.URI$Parser.scan(URI.java:2912)
    at java.net.URI$Parser.parseHierarchical(URI.java:3065)
    at java.net.URI$Parser.parse(URI.java:3024)
    at java.net.URI.<init>(URI.java:578)
    at java.net.URI.create(URI.java:840)
    at org.apache.hadoop.fs.FileSystem.getDefaultUri(FileSystem.java:103)
    at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95)
    at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:180)
    at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95)
    at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:180)
    at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95)
...tens of lines later
2011-03-18 17:20:45,111 INFO org.apache.hadoop.hbase.master.HMaster:
Aborting
2011-03-18 17:20:45,111 DEBUG org.apache.hadoop.hbase.master.HMaster:
Stopping service threads
2011-03-18 17:20:45,111 INFO org.apache.hadoop.ipc.HBaseServer: Stopping
server on 47967
2011-03-18 17:20:45,111 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 0 on 47967: exiting
2011-03-18 17:20:45,112 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 1 on 47967: exiting
2011-03-18 17:20:45,112 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 2 on 47967: exiting
2011-03-18 17:20:45,113 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 3 on 47967: exiting
2011-03-18 17:20:45,113 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 4 on 47967: exiting
2011-03-18 17:20:45,113 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 5 on 47967: exiting
2011-03-18 17:20:45,113 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 6 on 47967: exiting
2011-03-18 17:20:45,113 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 7 on 47967: exiting
2011-03-18 17:20:45,114 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 8 on 47967: exiting
2011-03-18 17:20:45,114 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
handler 9 on 47967: exiting
2011-03-18 17:20:45,114 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC
Server listener on 47967
2011-03-18 17:20:45,117 INFO org.apache.hadoop.ipc.HBaseServer: Stopping IPC
Server Responder
2011-03-18 17:20:45,129 INFO
org.apache.zookeeper.server.PrepRequestProcessor: Processed session
termination for sessionid: 0x12ecb7c4cad0000
2011-03-18 17:20:45,131 INFO org.apache.zookeeper.server.NIOServerCnxn:
Closed socket connection for client /127.0.0.1:40586 which had sessionid
0x12ecb7c4cad0000
2011-03-18 17:20:45,137 INFO org.apache.zookeeper.ClientCnxn: EventThread
shut down
2011-03-18 17:20:45,137 INFO org.apache.zookeeper.ZooKeeper: Session:
0x12ecb7c4cad0000 closed
2011-03-18 17:20:45,137 INFO org.apache.hadoop.hbase.master.HMaster: HMaster
main thread exiting
2011-03-18 17:20:45,138 INFO org.apache.zookeeper.server.NIOServerCnxn:
Closed socket connection for client /127.0.0.1:40587 which had sessionid
0x12ecb7c4cad0001
2011-03-18 17:20:45,138 INFO org.apache.zookeeper.ClientCnxn: Unable to read
additional data from server sessionid 0x12ecb7c4cad0001, likely server has
closed socket, closing socket connection and attempting reconnect

and the same message repeats about being unable to connect.

In the shell when I try to create a table I get:
hbase(main):002:0> create 'test', 'cf'

ERROR: org.apache.hadoop.hbase.ZooKeeperConnectionException:
org.apache.hadoop.hbase.ZooKeeperConnectionException:
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase


Any help would be appreciated.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message