Hi stack Environment is cygwin (version 1.7), Windows 7 64-bit
This was the only way I could manage to get hbase up (with a standalone zookeeper server) , problem does not exist on Unix (Centos) but that is expected also I am working to have complete installation hadoop/hbase/zookeeper running on the Mac will be happy to follow up on issues. As far as adding "workaround", absolutely (I tried just about anything, as the original author of this issues, I have had no problems running "self-managed" zookeeper on Windows 32-bit XP (fyi, I did not try to "force" IPv4 , but I did try change cygwin sshd and ssh configuration files to use IPV4, no effect), btw, thanks for your great work, product (hadoop family) is phenomenal! cheers Following are sequenced steps and configuration files used (IndexedRegion server parameters is of course optional) Sequence of run: 1.start zookeeper (zkServer.sh start) (ping to check "live" status: zkCli.sh -server 127.0.0.1:2181 2. start hadoop 3. start hbase <configuration> <property> <name>hbase.rootdir</name> <value>hdfs://localhost:9000/hbase</value> <description>The directory shared by region servers. </description> </property> <property> <name>hbase.cluster.distributed</name> <value>false</value> <description>The mode the cluster will be in. Possible values are false: standalone and pseudo-distributed setups with managed Zookeeper true: fully-distributed with unmanaged Zookeeper Quorum (see hbase-env.sh) </description> </property> <property> <name>hbase.regionserver.class</name> <value>org.apache.hadoop.hbase.ipc.IndexedRegionInterface</value> </property> <property> <name>hbase.regionserver.impl</name> <value>org.apache.hadoop.hbase.regionserver.tableindexed.IndexedRegionServer</value> </property> </configuration> and zoo.cfg file # The number of milliseconds of each tick tickTime=2000 # The number of ticks that the initial # synchronization phase can take initLimit=10 # The number of ticks that can pass between # sending a request and getting an acknowledgement syncLimit=5 # the directory where the snapshot is stored. dataDir=/opt/zookeeper/data # the port at which the clients will connect clientPort=2181 On Mon, Jan 18, 2010 at 5:58 PM, stack <st...@duboce.net> wrote: > Thank you Andrew for the below. You were running all in cygwin I take it? > Should we update this document: > http://hadoop.apache.org/hbase/docs/r0.20.2/cygwin.html? > > St.Ack > > On Mon, Jan 18, 2010 at 2:26 PM, Andrew Milkowski < > andrewmilkow...@gmail.com > > wrote: > > > Hi, > > > > Have a quick workaround to start hbase on 64-bit windows > > > > Launch standalone zookeeper (don't add regional servers in the zoo.cfg) > and > > keep hbase.cluster.distributed set to false > > > > Hbase was able to connect to zookeeper server (probably a failover due to > > internal error in hbase itself, there is definitely something wrong in > the > > way hbase handles its own zookeeper initiation) > > > > (Zookeeper instructions are in the usual place: > > http://hadoop.apache.org/zookeeper/docs/current/zookeeperStarted.html) > > > > Using hbase 0.20.2 and zookeeper 3.2 versions > > > > performed some tests with sample table I/O all looks fine., hopefully > this > > will keep you going until "self-managed" zookeeper in hbase is closely > > looked at > > > > cheers > > >