On Sun, Jan 3, 2010 at 1:08 AM, alaa nobani <[email protected]> wrote:
> Hi, Yes Hbase is working but our application which uses hbase still not > able to connect to hbase and gives the following error on startup: > > 2010-01-03 02:56:41,809 INFO [main] > hbase.client.HConnectionManager$TableServers (HConnectionManager.java:336) - > getMaster attempt 7 of 10 failed; retrying after sleep of 16000 > java.io.IOException: > org.apache.zookeeper.KeeperException$ConnectionLossException: > KeeperErrorCode = ConnectionLoss for /hbase/master > at > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow(ZooKeeperWrapper.java:331) > at > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readMasterAddressOrThrow(ZooKeeperWrapper.java:240) > at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster(HConnectionManager.java:318) > at > org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:72) > > > Do you suggest anything may cause this exception ?? what we should look > for? > Looks like client machine is not able to connect to zk. It has an hbase-site.xml w/ the proper zk ensemble members listed in its CLASSPATH? St.Ack > > Thanks. > > > --- On Thu, 12/31/09, Jean-Daniel Cryans <[email protected]> wrote: > > > From: Jean-Daniel Cryans <[email protected]> > > Subject: Re: IO Exception on startup > > To: [email protected] > > Date: Thursday, December 31, 2009, 9:16 PM > > This exception happens normally in > > the current release but it usually > > doesn't appear on the command line. I cleaned it up for the > > next > > release. > > > > HBase should still be working. > > > > J-D > > > > On Thu, Dec 31, 2009 at 1:36 AM, alaa nobani <[email protected]> > > wrote: > > > Zookeper is started , actually this exception is > > thrown after starting the master, here is the complete > > output i got when starting hbase: > > > > > > localhost: starting zookeeper, logging to > > > /home/admo40/hbase-0.20.2/bin/../logs/hbase-admo40-zookeeper-mail.kalimat-maktoob.com.out > > > starting master, logging to > > > /home/admo40/hbase-0.20.2/bin/../logs/hbase-admo40-master-mail.kalimat-maktoob.com.out > > > java.io.IOException: > > org.apache.zookeeper.KeeperException$NoNodeException: > > KeeperErrorCode = NoNode for /hbase/master > > > at > > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow(ZooKeeperWrapper.java:332) > > > at > > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddress(ZooKeeperWrapper.java:318) > > > at > > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readMasterAddress(ZooKeeperWrapper.java:250) > > > at > > > org.apache.hadoop.hbase.master.ZKMasterAddressWatcher.waitForMasterAddressAvailability(ZKMasterAddressWatcher.java:82) > > > at > > > org.apache.hadoop.hbase.master.HMaster.writeAddressToZooKeeper(HMaster.java:267) > > > at > > org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:254) > > > at > > > org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:94) > > > at > > > org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:78) > > > at > > org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1214) > > > localhost: starting regionserver, logging to > > > /home/admo40/hbase-0.20.2/bin/../logs/hbase-admo40-regionserver-mail.kalimat-maktoob.com.out > > > > > > > > > > > > --- On Thu, 12/31/09, Jeff Zhang <[email protected]> > > wrote: > > > > > >> From: Jeff Zhang <[email protected]> > > >> Subject: Re: IO Exception on startup > > >> To: [email protected] > > >> Date: Thursday, December 31, 2009, 11:18 AM > > >> The zookeeper is not started ? > > >> > > >> > > >> Jeff Zhang > > >> > > >> > > >> > > >> On Thu, Dec 31, 2009 at 12:33 AM, alaa nobani > > <[email protected]> > > >> wrote: > > >> > > >> > Hi, > > >> > Any one can recognize the following exception > > am > > >> getting when starting > > >> > hbase and help me fix it: > > >> > > > >> > java.io.IOException: > > >> > > org.apache.zookeeper.KeeperException$NoNodeException: > > >> > KeeperErrorCode = NoNode for /hbase/master > > >> > at > > >> > > > >> > > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow(ZooKeeperWrapper.java:332) > > >> > at > > >> > > > >> > > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddress(ZooKeeperWrapper.java:318) > > >> > at > > >> > > > >> > > > org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readMasterAddress(ZooKeeperWrapper.java:250) > > >> > at > > >> > > > >> > > > org.apache.hadoop.hbase.master.ZKMasterAddressWatcher.waitForMasterAddressAvailability(ZKMasterAddressWatcher.java:82) > > >> > at > > >> > > > >> > > > org.apache.hadoop.hbase.master.HMaster.writeAddressToZooKeeper(HMaster.java:267) > > >> > at > > >> > > org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:254) > > >> > at > > >> > > > >> > > > org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:94) > > >> > at > > >> > > > >> > > > org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:78) > > >> > at > > >> > > org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1214) > > >> > > > >> > > > >> > Thanks. > > >> > > > >> > > > >> > > > >> > > > >> > > > > > > > > > > > > > > > > > >
