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:[email protected]]
Sent: Monday, September 16, 2013 3:32 PM
To: [email protected]
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. 
<[email protected]<mailto:[email protected]>> 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:[email protected]<mailto:[email protected]>]
Sent: Monday, September 16, 2013 2:33 PM
To: [email protected]<mailto:[email protected]>
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. 
<[email protected]<mailto:[email protected]>> 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


Reply via email to