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,510 points
41 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
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 16, 2018 in DevOps Tools by shubham
• 6,890 points
63 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
46 views
+1 vote
3 answers

How do I check and export sonarqube analysis reports in embedded db?

Browse to sonarqube web instance to access ...READ MORE

answered Jul 2, 2018 in DevOps Tools by DareDev
• 6,810 points
3,331 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
147 views
0 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
1,260 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
29 views