Your zookeeper stuff is fine, as you can see it's INFO level. What's fatal tho is that the master can't connect to your namenode (on port 9000).
J-D 2011/5/11 Άρμεν Αρσακιάν <[email protected]>: > I installed hbase on my Mac Os 10.6 machine and when i try to run hbase > master start I get the following error: > > my error is similar if not the same with the following thread > http://article.gmane.org/gmane.comp.java.hadoop.hbase.user/17432/match=got+user+level+keeperexception+processing+sessionid > but it did not give any solution > > Thank your for your time and help > Armen > > 11/05/11 21:27:06 INFO server.PrepRequestProcessor: Got user-level > KeeperException when processing sessionid:0x12fe04ff0e50001 type:create > cxid:0x1 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error > Path:/hbase Error:KeeperErrorCode = NodeExists for /hbase > 11/05/11 21:27:06 INFO server.PrepRequestProcessor: Got user-level > KeeperException when processing sessionid:0x12fe04ff0e50001 type:create > cxid:0x2 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error > Path:/hbase/unassigned Error:KeeperErrorCode = NodeExists for > /hbase/unassigned > 11/05/11 21:27:06 INFO server.PrepRequestProcessor: Got user-level > KeeperException when processing sessionid:0x12fe04ff0e50001 type:create > cxid:0x3 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error > Path:/hbase/rs Error:KeeperErrorCode = NodeExists for /hbase/rs > 11/05/11 21:27:06 INFO server.PrepRequestProcessor: Got user-level > KeeperException when processing sessionid:0x12fe04ff0e50001 type:create > cxid:0x4 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error > Path:/hbase/table Error:KeeperErrorCode = NodeExists for /hbase/table > 11/05/11 21:27:06 INFO ipc.HBaseRpcMetrics: Initializing RPC Metrics with > hostName=HRegionServer, port=60339 > 11/05/11 21:27:06 INFO security.User: Skipping login, not running on secure > Hadoop > 11/05/11 21:27:06 INFO zookeeper.ZooKeeper: Initiating client connection, > connectString=localhost:2181 sessionTimeout=180000 watcher=regionserver:60339 > 11/05/11 21:27:06 INFO zookeeper.ClientCnxn: Opening socket connection to > server localhost/127.0.0.1:2181 > 11/05/11 21:27:06 INFO zookeeper.ClientCnxn: Socket connection established to > localhost/127.0.0.1:2181, initiating session > 11/05/11 21:27:06 INFO server.NIOServerCnxn: Accepted socket connection from > /127.0.0.1:60340 > 11/05/11 21:27:06 INFO server.NIOServerCnxn: Client attempting to establish > new session at /127.0.0.1:60340 > 11/05/11 21:27:06 INFO master.ActiveMasterManager: Master=192.168.2.2:60336 > 11/05/11 21:27:06 INFO server.NIOServerCnxn: Established session > 0x12fe04ff0e50002 with negotiated timeout 40000 for client /127.0.0.1:60340 > 11/05/11 21:27:06 INFO zookeeper.ClientCnxn: Session establishment complete > on server localhost/127.0.0.1:2181, sessionid = 0x12fe04ff0e50002, negotiated > timeout = 40000 > 11/05/11 21:27:06 INFO server.PrepRequestProcessor: Got user-level > KeeperException when processing sessionid:0x12fe04ff0e50002 type:create > cxid:0x1 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error > Path:/hbase Error:KeeperErrorCode = NodeExists for /hbase > 11/05/11 21:27:06 INFO server.PrepRequestProcessor: Got user-level > KeeperException when processing sessionid:0x12fe04ff0e50002 type:create > cxid:0x2 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error > Path:/hbase/unassigned Error:KeeperErrorCode = NodeExists for > /hbase/unassigned > 11/05/11 21:27:06 INFO server.PrepRequestProcessor: Got user-level > KeeperException when processing sessionid:0x12fe04ff0e50002 type:create > cxid:0x3 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error > Path:/hbase/rs Error:KeeperErrorCode = NodeExists for /hbase/rs > 11/05/11 21:27:06 INFO server.PrepRequestProcessor: Got user-level > KeeperException when processing sessionid:0x12fe04ff0e50002 type:create > cxid:0x4 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error > Path:/hbase/table Error:KeeperErrorCode = NodeExists for /hbase/table > 11/05/11 21:27:07 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:9000. Already tried 0 time(s). > 11/05/11 21:27:08 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:9000. Already tried 1 time(s). > 11/05/11 21:27:09 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:9000. Already tried 2 time(s). > 11/05/11 21:27:10 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:9000. Already tried 3 time(s). > 11/05/11 21:27:11 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:9000. Already tried 4 time(s). > 11/05/11 21:27:12 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:9000. Already tried 5 time(s). > 11/05/11 21:27:13 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:9000. Already tried 6 time(s). > 11/05/11 21:27:14 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:9000. Already tried 7 time(s). > 11/05/11 21:27:15 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:9000. Already tried 8 time(s). > 11/05/11 21:27:16 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:9000. Already tried 9 time(s). > 11/05/11 21:27:16 FATAL master.HMaster: Unhandled exception. Starting > shutdown. > java.net.ConnectException: Call to localhost/127.0.0.1:9000 failed on > connection exception: java.net.ConnectException: Connection refused > at org.apache.hadoop.ipc.Client.wrapException(Client.java:767) > at org.apache.hadoop.ipc.Client.call(Client.java:743) > at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220) > at $Proxy6.getProtocolVersion(Unknown Source) > at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359) > at > org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:106) > at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:207) > at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:170) > at > org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:82) > at > org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1378) > at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66) > at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1390) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:196) > at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175) > at org.apache.hadoop.hbase.util.FSUtils.getRootDir(FSUtils.java:345) > at > org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:81) > at > org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:347) > at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:283) > at > org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.run(HMasterCommandLine.java:193) > at java.lang.Thread.run(Thread.java:680) > Caused by: java.net.ConnectException: Connection refused > at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) > at > sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567) > at > org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206) > at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:404) > at > org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:304) > at org.apache.hadoop.ipc.Client$Connection.access$1700(Client.java:176) > at org.apache.hadoop.ipc.Client.getConnection(Client.java:860) > at org.apache.hadoop.ipc.Client.call(Client.java:720) > ... 18 more > 11/05/11 21:27:16 INFO master.HMaster: Aborting > 11/05/11 21:27:16 DEBUG master.HMaster: Stopping service threads > 11/05/11 21:27:16 INFO ipc.HBaseServer: Stopping server on 60336 > 11/05/11 21:27:16 INFO ipc.HBaseServer: IPC Server handler 1 on 60336: exiting > 11/05/11 21:27:16 INFO ipc.HBaseServer: IPC Server handler 0 on 60336: exiting > 11/05/11 21:27:16 INFO ipc.HBaseServer: Stopping IPC Server listener on 60336 > 11/05/11 21:27:16 INFO ipc.HBaseServer: IPC Server handler 2 on 60336: exiting > 11/05/11 21:27:16 INFO ipc.HBaseServer: IPC Server handler 3 on 60336: exiting > 11/05/11 21:27:16 INFO ipc.HBaseServer: IPC Server handler 4 on 60336: exiting > 11/05/11 21:27:16 INFO ipc.HBaseServer: IPC Server handler 8 on 60336: exiting > 11/05/11 21:27:16 INFO ipc.HBaseServer: IPC Server handler 5 on 60336: exiting > 11/05/11 21:27:16 INFO ipc.HBaseServer: IPC Server handler 7 on 60336: exiting > 11/05/11 21:27:16 INFO ipc.HBaseServer: IPC Server handler 6 on 60336: exiting > 11/05/11 21:27:16 INFO ipc.HBaseServer: IPC Server handler 9 on 60336: exiting > 11/05/11 21:27:16 INFO ipc.HBaseServer: Stopping IPC Server Responder > 11/05/11 21:27:16 INFO server.PrepRequestProcessor: Processed session > termination for sessionid: 0x12fe04ff0e50000 > 11/05/11 21:27:16 INFO zookeeper.ZooKeeper: Session: 0x12fe04ff0e50000 closed > 11/05/11 21:27:16 INFO master.HMaster: HMaster main thread exiting > 11/05/11 21:27:16 INFO zookeeper.ClientCnxn: EventThread shut down > 11/05/11 21:27:16 INFO server.NIOServerCnxn: Closed socket connection for > client /fe80:0:0:0:0:0:0:1%1:60338 which had sessionid 0x12fe04ff0e50001 > 11/05/11 21:27:16 INFO zookeeper.ClientCnxn: Unable to read additional data > from server sessionid 0x12fe04ff0e50001, likely server has closed socket, > closing socket connection and attempting reconnect > 11/05/11 21:27:16 INFO server.NIOServerCnxn: Closed socket connection for > client /fe80:0:0:0:0:0:0:1%1:60337 which had sessionid 0x12fe04ff0e50000 > 11/05/11 21:27:16 INFO server.NIOServerCnxn: Closed socket connection for > client /127.0.0.1:60340 which had sessionid 0x12fe04ff0e50002 > 11/05/11 21:27:16 INFO server.NIOServerCnxn: NIOServerCnxn factory exited run > method > 11/05/11 21:27:16 INFO zookeeper.ClientCnxn: Unable to read additional data > from server sessionid 0x12fe04ff0e50002, likely server has closed socket, > closing socket connection and attempting reconnect > 11/05/11 21:27:16 INFO server.SyncRequestProcessor: SyncRequestProcessor > exited! > 11/05/11 21:27:16 INFO server.FinalRequestProcessor: shutdown of request > processor complete > 11/05/11 21:27:16 INFO server.PrepRequestProcessor: PrepRequestProcessor > exited loop! > 11/05/11 21:27:16 INFO zookeeper.ClientCnxn: Opening socket connection to > server localhost/127.0.0.1:2181 > 11/05/11 21:27:16 WARN zookeeper.ClientCnxn: Session 0x12fe04ff0e50001 for > server null, unexpected error, closing socket connection and attempting > reconnect > java.net.ConnectException: Connection refused > at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) > at > sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567) > at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119) > 11/05/11 21:27:16 INFO zookeeper.ClientCnxn: Opening socket connection to > server localhost/0:0:0:0:0:0:0:1:2181 > 1 > >
