Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8794331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:14:13+00:00 2026-06-13T23:14:13+00:00

Is it possible to add new hosts to a Cassandra cluster dynamically? What I’m

  • 0

Is it possible to add new hosts to a Cassandra cluster dynamically?

What I’m trying to do is set up a program that can:

  • Set up a local version of the database for each user
  • Each user’s machine will become part of the cluster (the machines will be hosts)
  • Data will be replicated across all the clusters

Building a cluster of multiple hosts usually entails configuring the cassandra.yaml to store the seeds, listen_address and rpc_address of each host.

My idea is to edit these files through java and insert the new host addresses as required but making sure that data is accurate across each users’s cassandra.yaml files would be challenging.

I’m wondering if someone has done something similar or has any advice on a better way to achieve this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:14:13+00:00Added an answer on June 13, 2026 at 11:14 pm

    Yes is possible. Look at Netflix’s Priam for an complete example of a dynamic cassandra cluster management (but designed to work with Amazon EC2).

    For rpc_address and listen_address, you can setup a startup script that configures the cassandra.yaml if it’s not ok.

    For seeds you can configure a custom seed provider. Look at the seed provider used for Netflix’s Priam for some ideas how to implement it

    The most difficult part will be managing the tokens assigned to each node in a efficient way. Cassandra 1.2 is around the corner and will include a feature called virtual nodes that, IMO, will work well in your case. See the Acunu presentation about it

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Would it be possible to add a new operator to the String class that
Is it possible to add new GUI elements into a Qt program using QtScript?
Is it possible to add new codec's to ffmepg? i searched a bit and
This is the 'add new contact' window. Is it possible to create custom data
Is it possible to both alter a column and add a new column in
Is it possible to add a new ServiceReference instance to the ScriptManager on the
I would like to setup a admin page (ASP.NET/C#) that can add IIS host
I know it is possible to add new CSS classes definitions at runtime through
I'm wondering if its possible to add new class data members at run-time in
Is it possible to add new values to Java System Properties. If there is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.