Cassandra Remove the Offline node

Source: Internet
Author: User
Tags cassandra

Use the Nodetool tool that under the Cassandra/bin directory

Nodetool status

There is and nodes has been off line.

Nodetool Removenode 199553f1-f310-41e1-b4a4-f5a1fef7d1b8

Wait for a moment

And on Cassandra Server terminal you'll see:

INFO 10:50:36 Removing Host:199553f1-f310-41e1-b4a4-f5a1fef7d1b8
INFO 10:50:36 sleeping for 30000ms to ensure/192.168.1.201 does no change
INFO 10:51:06 Advertising Removal for/192.168.1.201
INFO 10:51:07 [Stream #60607920 -429E-11E6-B2EC-CBF9A478E7DF] executing streaming plan for Restore replica count
INFO 10:51:07 handshaking version with/192.168.1.110

...

INFO 10:51:07 Completing removal of/192.168.1.201

And now, the Execute Nodetool status, you'll see

Finish.

Cassandra Remove the Offline node

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.