What is in the .out file? You are on windows?
If so, check the archives. For example, this looks promising: http://search-hadoop.com/m/719ud2FRxYH1/windows+zookeeper&subj=hbase+setup+windows+7 St.Ack On Wed, Feb 23, 2011 at 10:58 PM, sun sf <[email protected]> wrote: > St.Ack > > I found the past question you have answerd. > > I have checked the out log file and it gives the same errors > > --------------------------------------------------------------------------------------------------------------------------------------------- > http://hbase.apache.org/docs/r0.20.6/cygwin.html > Stack > <stack@...<http://gmane.org/get-address.php?address=stack%2d%2bc050i%2b%2bPmesTnJN9%2bBGXg%40public.gmane.org> >> > 2011-01-16 01:44:52 GMT > > It looks like the zookeeper ensemble has not started. Is that possible? > > 2011-01-14 19:42:03,773 WARN org.apache.zookeeper.ClientCnxn: > Exception closing session 0x0 to sun.nio.ch.SelectionKeyImpl <at> 76e8a7^M > java.net.ConnectException: Connection refused: no further information^M > at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)^M > at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)^M > at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:933)^M > > Is this standalone or pseudo-distributed or what? Unless you tampered > with settings in hbase-env.sh, ZK should be started for you. Check > out the .out file or if a zookeeper log beside this master log, check > that. > > I see that windows would seem to set ulimit for files to 256 by > default. Once you get things going, try and up that if you can. > > St.Ack > > ------------------------------------------------------------------------------------------------------------------------------- > > > On Thu, Feb 24, 2011 at 3:31 PM, sun sf <[email protected]> wrote: > >> I only use the default configuration to start. >> >> I check the log but I do not know how to where the >> Zookeeper ensemble error lies. >> >> Can you tell me how to check Zookeeper ensemble status >> and how to fix the problem? >> >> Thanks in advance. >> >> >> On Thu, Feb 24, 2011 at 3:01 PM, Stack <[email protected]> wrote: >> >>> Zookeeper ensemble is not running. See logs for why. >>> St.Ack >>> >>> On Wed, Feb 23, 2011 at 9:46 PM, sun sf <[email protected]> wrote: >>> > Thank you for your quick reply. >>> > >>> > I know there are several different default configurations >>> > between HBase0.90.1 and HBase0.20.6. >>> > >>> > And so I tried pseudo and standalone install, >>> > it seems both of them had the same zookeeper error. >>> > >>> > In the standalone,I only added the root.dir to the hbase-site.xml >>> > and not install hadoop. >>> > >>> > I tried again and the error message turned to be >>> > the following. >>> > >>> > I attached the log file to make it more clear. >>> > >>> ----------------------------------------------------------------------------------------------------------------------- >>> > 2011-02-23 15:09:46,980 INFO org.apache.zookeeper.ClientCnxn: Opening >>> socket >>> > connection to server localhost/192.168.70.5:2181 >>> > 2011-02-23 15:09:46,981 WARN org.apache.zookeeper.ClientCnxn: Session >>> > 0x12e54c8de7f0001 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) >>> > 2011-02-23 15:09:46,986 INFO org.apache.zookeeper.ClientCnxn: Opening >>> socket >>> > connection to server localhost/192.168.70.5:2181 >>> > 2011-02-23 15:09:46,987 WARN org.apache.zookeeper.ClientCnxn: Session >>> > 0x12e54c8de7f0002 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) >>> > >>> ----------------------------------------------------------------------------------------------------------------------- >>> > >>> > >>> > On Thu, Feb 24, 2011 at 2:33 PM, Stack <[email protected]> wrote: >>> >> >>> >> On Wed, Feb 23, 2011 at 9:08 PM, sun sf <[email protected]> wrote: >>> >> > >>> >> > >>> ---------------------------------------------------------------------------------------- >>> >> > org.apache.haddop.hase.zookeeper.MiniZookeeperCluster >>> >> > Server localhost:2181 not up java.net.NoRouteToHostException >>> >> > No route to host MinizookeeperCluster.java 1221 >>> >> >>> >> Your networking on that machine is borked when it says >>> >> NoRouteToHostException. Poke around in the logs. Its probably trying >>> >> to connect to localhost or whatever its finding for hostname on this >>> >> machine. Trying doing same with telnet. You'll probably run into the >>> >> NoRouteToHost message. Fix it first. >>> >> >>> >> Be careful using same config. for 0.90.1 as you used for 0.20.6. The >>> >> default values have changed as has how you do config. for zookeeper. >>> >> Start with 0.90.1 defaults and change one at a time. Go by the >>> >> documentation, here http://hbase.apache.org/notsoquick.html, to be >>> >> sure. >>> >> >>> >> Hope this helps, >>> >> St.Ack >>> > >>> > >>> >> >> >
