Hi Peter,

We are not trying to run multiple neo4j clusters on same machine.
Configuration is :
3 machines : each running a ZK and neo4j server.

So, does this mean that if one of the nodes goes down,  we have to delete
the graph.db before restarting the neo4j server again (even with the above
configuration)?


On Fri, Dec 23, 2011 at 6:38 AM, Peter Neubauer <
peter.neuba...@neotechnology.com> wrote:

> Anirudha,
> I think this might be a bug that is fixed in Master. Now, the Neo4j
> Coordinator ZK cluster can manage several HA clusters and should not
> give that exception. However, do you want to run multiple clusters
> there? Otherwise, removing the DB and starting fresh so it gets copied
> over from the master is the way to go.
>
> Cheers,
>
> /peter neubauer
>
> Google:neubauer.peter
> Skype:peter.neubauer
> Phone: +46 704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter      @peterneubauer
>
> brew install neo4j && neo4j start
> heroku addons:add neo4j
>
>
>
> On Fri, Dec 2, 2011 at 3:08 PM, anirudha <anir...@thoughtworks.com> wrote:
> > Hi,
> >
> > We are trying to setup neo4j in high-availability mode with 3 nodes in
> the
> > cluster.
> > When we restart any of the neo4j servers, it fails. We get following
> > exception:
> >
> > ==> neo4j-zookeeper.log <==
> > ERROR main-EventThread org.apache.zookeeper.ClientCnxn - Error while
> calling
> > watcher
> > java.lang.RuntimeException: There's already an HA cluster managed by this
> > ZooKeeper cluster
> >        at
> org.neo4j.kernel.ha.zookeeper.ZooClient.getRoot(ZooClient.java:370)
> >        at
> >
> org.neo4j.kernel.ha.zookeeper.AbstractZooKeeperManager.getAllMachines(AbstractZooKeeperManager.java:194)
> >        at
> >
> org.neo4j.kernel.ha.zookeeper.AbstractZooKeeperManager.getMasterFromZooKeeper(AbstractZooKeeperManager.java:134)
> >        at
> org.neo4j.kernel.ha.zookeeper.ZooClient.process(ZooClient.java:122)
> >        at
> >
> org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:530)
> >        at
> org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:506)
> >
> >
> > If we delete the database folder "graph.db" and then start the server, it
> > starts with no exception and syncs the data.
> > Am I missing any configuration?
> >
> > Thanks.
> >
> > --
> > View this message in context:
> http://neo4j-community-discussions.438527.n3.nabble.com/There-s-already-an-HA-cluster-managed-by-this-ZooKeeper-cluster-tp3554731p3554731.html
> > Sent from the Neo4j Community Discussions mailing list archive at
> Nabble.com.
> > _______________________________________________
> > Neo4j mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> _______________________________________________
> NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please
> register and consider posting at
> https://groups.google.com/forum/#!forum/neo4j
>
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register 
and consider posting at https://groups.google.com/forum/#!forum/neo4j

Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to