accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Smith, Joshua D." <Joshua.Sm...@gd-ais.com>
Subject RE: Disconnect between Accumulo instances seen by Zookeeper and Accumulo
Date Mon, 16 Sep 2013 19:47:37 GMT
John-

That fixed it. Not only did each of the zoo.cfg files not contain the server.x lines, they
each had the same id in their myid file. They didn't know about each other at all.

Once I read the entry on server.x in the Zookeeper Administrator's Guide (http://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html#sc_configuration)
it all made sense.

Thanks for the assist.

Josh

From: John Vines [mailto:vines@apache.org]
Sent: Monday, September 16, 2013 3:32 PM
To: user@accumulo.apache.org
Subject: Re: Disconnect between Accumulo instances seen by Zookeeper and Accumulo

Did you configure your zookeepers together in their zoo.cfg?

On Mon, Sep 16, 2013 at 3:05 PM, Smith, Joshua D. <Joshua.Smith@gd-ais.com<mailto:Joshua.Smith@gd-ais.com>>
wrote:
Thanks John.

I confirmed that all of my accumulo-site.xml files have the same list of Zookeeper instances
for instance.zookeeper.host. So that led me to wonder about consistency. I decided to see
if all of the Zookeeper nodes match. They don't.

Two of the zookeeper nodes do not have any /accumulo path. One does. So Accumulo must be answering
based on one or both of the Zookeeper nodes that do not have a /accumulo path and not based
on the one with the path. I'm not sure how Zookeeper got into this state. Any ideas on how
to fix it?

Thanks,
Josh

From: John Vines [mailto:vines@apache.org<mailto:vines@apache.org>]
Sent: Monday, September 16, 2013 2:33 PM
To: user@accumulo.apache.org<mailto:user@accumulo.apache.org>
Subject: Re: Disconnect between Accumulo instances seen by Zookeeper and Accumulo

Using ListInstances uses the defined zookeepers from accumulo-site.xml. If you have accumulo-site.xml
pointing at a different set of ZooKeepers you will see the behavior your experiencing.

On Mon, Sep 16, 2013 at 2:22 PM, Smith, Joshua D. <Joshua.Smith@gd-ais.com<mailto:Joshua.Smith@gd-ais.com>>
wrote:
What would cause a situation where Zookeeper shows Accumulo instances but Accumulo lists no
instances?

Executing an ls /accumulo/instances using zkCli.sh I can see two instances listed.
Using bin/accumulo org.apache.accumulo.server.util.ListInstances I see none listed.

I'm running CDH4.3 and Accumulo 1.4.3.

Josh



Mime
View raw message