Re: [Neo4j] There's already an HA cluster managed by this ZooKeeper cluster
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 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
Re: [Neo4j] There's already an HA cluster managed by this ZooKeeper cluster
Hey Peter, This link should work : https://gist.github.com/1436975 Thanks On Fri, Dec 16, 2011 at 11:41 AM, Peter Neubauer wrote: > Anirudha, > do you have a working link to the logs/gist? > > Cheers, > > /peter neubauer > > TC CEO of the year - vote for Emil Eifrém! > http://crunchies2011.techcrunch.com/nominate/ > > 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 Wed, Dec 14, 2011 at 2:12 PM, Michael Hunger > wrote: >> But it is a cute octocat github 404 :) >> >> the part w/o the ;cid... works >> >> https://gist.github.com/1433340 >> >> Cheers >> >> Michael >> >> Am 14.12.2011 um 13:18 schrieb Mattias Persson: >> >>> I'm getting a 404 on that link. >>> >>> 2011/12/6 Michael Hunger >>> >>>> Answer from Mahesh: >>>> >>>> Hi, >>>> >>>> Anirudha is a part of our team. >>>> >>>> We are using 1.5 in a 3 server setup on different physical machines. >>>> >>>> The messages.log from the server failing to start is as follows. >>>> (https://gist.github.com/1433340;cid=1323211777524-299) >>>> Here is the messages.log file on the server that is failing >>>> >>>> Hope this helps you help us.. >>>> >>>> Cheers... >>>> >>>> Mahesh >>>> >>>> Am 05.12.2011 um 09:03 schrieb Peter Neubauer: >>>> >>>>> Hi there, >>>>> what version are you running, any chance you could collect the >>>>> messages.log from the instances and send them over? >>>>> >>>>> Cheers, >>>>> >>>>> /peter neubauer >>>>> >>>>> GTalk: neubauer.peter >>>>> Skype peter.neubauer >>>>> Phone +46 704 106975 >>>>> LinkedIn http://www.linkedin.com/in/neubauer >>>>> Twitter http://twitter.com/peterneubauer >>>>> >>>>> brew install neo4j && neo4j start >>>>> heroku addons:add neo4j >>>>> >>>>> >>>>> >>>>> On Fri, Dec 2, 2011 at 3:08 PM, anirudha >>>> 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 Discussi
Re: [Neo4j] There's already an HA cluster managed by this ZooKeeper cluster
Link for the messages.log file : https://gist.github.com/1433340 -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/There-s-already-an-HA-cluster-managed-by-this-ZooKeeper-cluster-tp3554731p3561268.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
[Neo4j] There's already an HA cluster managed by this ZooKeeper cluster
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