hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jignesh Patel <jigneshmpa...@gmail.com>
Subject Re: zookeeper - cluster redirection not happening
Date Thu, 22 Aug 2019 21:32:51 GMT
This is what I see in core-site.xml

<property>

<name>ha.zookeeper.quorum</name>

<value>server1:2181,server2:2181,server3:2181</value>

</property>


This is what I see in hbase-site.xml

 <property>

 <name>ha.zookeeper.quorum</name>

 <value>server1:2181,server2:2181,server3:2181</value>

 </property>




On Thu, Aug 22, 2019 at 5:21 PM Wellington Chevreuil <
wellington.chevreuil@gmail.com> wrote:

> The shared log snippet mentions a single server in the quorum connection
> string:
>
> 16:38:12,838 ERROR [org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher]
> > (default task-27) hconnection-0x2f95012, quorum=zookeeper1:2181
> > <http://us-east-1-zookeeper-aws-1.icare.com:2181/>, baseZNode=/hbase
> > Received unexpected KeeperException, re-throwing exception:
> > org.apache.zookeeper.KeeperException$ConnectionLossException:
> >
>
> So it might be you client app config has only one of the quorum servers
> defined in the connection string. Can you check your client application
> hbase-site.xml file?
>
> Em qui, 22 de ago de 2019 às 18:09, Jignesh Patel <jigneshmpatel@gmail.com
> >
> escreveu:
>
> > We are running Quorum of three zookeepers to connect to our hadoop 2.6.0
> > setup.
> > However surprisingly if one of the zookeeper goes down our system goes.
> > Below is a log from our wildfly server, which stopped responding as one
> of
> > the zookeeper down and it only tried to connect to that particular
> > zookeeper.
> > How do we ensure that if one goes down then also our system should
> redirect
> > to next one and keep going?
> >
> > 16:38:12,838 ERROR
> [org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper]
> > (default task-27) ZooKeeper getData failed after 4 attempts
> >
> > 16:38:12,838 ERROR [org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher]
> > (default task-27) hconnection-0x2f95012, quorum=zookeeper1:2181
> > <http://us-east-1-zookeeper-aws-1.icare.com:2181/>, baseZNode=/hbase
> > Received unexpected KeeperException, re-throwing exception:
> > org.apache.zookeeper.KeeperException$ConnectionLossException:
> > KeeperErrorCode = ConnectionLoss for /hbase/meta-region-server
> >
> > at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
> > [zookeeper-3.4.5.jar:3.4.5-1392090]
> >
> > at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
> > [zookeeper-3.4.5.jar:3.4.5-1392090]
> >
> > at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1151)
> > [zookeeper-3.4.5.jar:3.4.5-1392090]
> >
> > at
> >
> >
> org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.getData(RecoverableZooKeeper.java:337)
> > [hbase-client-0.98.1-hadoop2.jar:0.98.1-hadoop2]
> >
> > at org.apache.hadoop.hbase.zookeeper.ZKUtil.getData(ZKUtil.java:683)
> > [hbase-client-0.98.1-hadoop2.jar:0.98.1-hadoop2]
> >
> > at
> >
> >
> org.apache.hadoop.hbase.zookeeper.ZKUtil.blockUntilAvailable(ZKUtil.java:1835)
> > [hbase-client-0.98.1-hadoop2.jar:0.98.1-hadoop2]
> >
> > at
> >
> >
> org.apache.hadoop.hbase.zookeeper.MetaRegionTracker.blockUntilAvailable(MetaRegionTracker.java:183)
> > [hbase-client-0.98.1-hadoop2.jar:0.98.1-hadoop2]
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message