How do I update configuration of a Cassandra cluster

0 votes
I have a 3 node Cassandra cluster and I want to make some adjustments to the cassandra.yaml . My question is, how should I perform this? One node at a time or is there a way to make it happen without shutting down nodes?  Btw, I am using Cassandra 2.2 and this is a production cluster.

Can anyone help me with this query?

Thanks.
Jul 26, 2018 in DevOps Tools by Damon Salvatore
• 5,980 points
643 views

1 answer to this question.

0 votes

Here is a way through which you would be able to reset a specific file to the last-committed state (to discard uncommitted changes in a specific file):

git checkout thefiletoreset.txt

This is mentioned in the git status output:

(use "git checkout -- <file>..." to discard changes in working directory)

To reset the entire repository to the last committed state:

git reset --hard

To remove untracked files, I usually just delete all files in the working copy (but not the .git/folder!), then do git reset --hard which leaves it with only committed files.

A better way is to use git clean: (Warning: using the -x flag as below will cause git to delete ignored files.)

git clean -d -x -f

will remove the files which are not tracked, including directories (-d) and files ignored by git (-x). Replace the -fargument with -n to perform a dry-run or -i for interactive mode and it will tell you what will be removed.

I hope the above information will be helpful to you.

answered Jul 26, 2018 by Atul
• 10,240 points

Related Questions In DevOps Tools

0 votes
0 answers

How can I configure Docker to use a specific number of CPU cores for a container?

How can I configure Docker to use ...READ MORE

3 days ago in DevOps Tools by Anila
• 2,230 points
17 views
0 votes
1 answer
0 votes
1 answer

For Gradle & Spring Boot, how do I choose dependency with implementation?

Below is the answer to your question: Both ...READ MORE

answered Jun 17, 2018 in DevOps Tools by shubham
• 7,340 points
765 views
0 votes
1 answer

How do I kill Wagtail server?

Here is the explanation regarding the above ...READ MORE

answered Jun 25, 2018 in DevOps Tools by anonymous
841 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,001 views
+2 votes
1 answer
0 votes
1 answer

How do I run “ant update” in Hybris with only “Update Running System”?

Here is what you can try. You can ...READ MORE

answered Jul 10, 2018 in DevOps Tools by Atul
• 10,240 points
7,139 views
0 votes
1 answer

How do I find OpsWorks deploy user in a recipe ?

Here is a concept which you can ...READ MORE

answered Jul 25, 2018 in DevOps Tools by Atul
• 10,240 points
874 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP