How to use electronic configuration?

How do I use Apache ZooKeeper as configuration service for Cassandra Cluster?

Sumit Bisht at Quora Visit the source

Was this solution helpful to you?

Other answers

I haven't yet got a chance to taste Cassandra. But I'm sure some of the below links might help you. https://docs.wso2.org/plugins/servlet/mobile#content/view/31132483 https://docs.wso2.org/plugins/servlet/mobile#content/view/31132487 The above two links explains how to configure zookeeper and Cassandra cluster in two different models. This might not be the one you are looking for but I just thought you would like to read it also. http://code.google.com/p/cages/

Abhishek Soni

Though I have worked with zookeeper, I have not used it as a configuration service. But the following link will give you a fair idea of how to do it. https://www.inkling.com/read/hadoop-definitive-guide-tom-white-3rd/chapter-14/building-applications-with Refer to the Hadoop definitive guide ebook to get the entire sample code given in the link.

Prateek Dhawalia

Zookeeper and Cassandra work well together when you use Zookeeper as a locking service. Use the http://code.google.com/p/cages/ library to manage read/writes to Cassandra. http://ria101.wordpress.com/2010/05/12/locking-and-transactions-over-cassandra-using-cages/ The above link will help you with that.

Abhiroop Sarkar

At one of my last companies we actually used zookeeper to store Cassandra configuration. Its probably overkill because zookeepers are quite hard to maintain. I would look at Netflix's Eureka as well depending on what you do with that configuration.However if you still want to use it I would suggest using Curator API rather thanĀ  coding up to zookeeper directly. Which is quite tricky.

Sidharth Gupta

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.