Guys, I am struggling from last 3 days to integrate Hbase0.90.4 with Hadoop 0.20.205.0. And really don't know what is wrong. If either of you help me to run this then it will be a great help. I am trying to run in pseudo mode and getting following error.
1. 2011-10-14 14:38:21,382 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server localhost/fe80:0:0:0:0:0:0:1%1:2181 2. 2011-10-14 14:38:21,383 WARN org.apache.zookeeper.ClientCnxn: Session 0x13303b76e500002 for server null, unexpected error, closing socket connection and attempting reconnect 3. java.net.ConnectException: Connection refused 4. at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) 5. at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567) 6. at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119) On Thu, Oct 13, 2011 at 1:33 PM, Jean-Daniel Cryans <[email protected]>wrote: > Have you done what the exception message tells you to do? It's related to > ZooKeeper, not HDFS. > > J-D > > On Wed, Oct 12, 2011 at 2:58 PM, Jignesh Patel <[email protected] > >wrote: > > > I have following setup in my hbase-site.xml > > <configuration> > > <property> > > <name>hbase.rootdir</name> > > <value>hdfs://localhost:9000/hbase</value> > > </property> > > <property> > > <name>dfs.replication</name> > > <value>1</value> > > </property> > > </configuration> > > > > but when I started the Hbase I got following error. > > > > ERROR: org.apache.hadoop.hbase.ZooKeeperConnectionException: HBase is > able > > to connect to ZooKeeper but the connection closes immediately. This could > > be > > a sign that the server has too many connections (30 is the default). > > Consider inspecting your ZK server logs for that error and then make sure > > you are reusing HBaseConfiguration as often as you can. See HTable's > > javadoc > > for more information. > > > > My OS: Max Lion X > > HBase Version : 0.90.4 > > > > The above error comes when I have either Hadoop running in sinlge node > > setup > > or it ain't running. > > > > -Jignesh > > >
