Cassandra remove the offline node
2016-07-05 19:04
483 查看
Use the nodetool tool that under the cassandra/bin directory
nodetool status
There are two nodes have been off line.
nodetool removenode 199553f1-f310-41e1-b4a4-f5a1fef7d1b8
wait for a moment
and on cassandra server terminal you will 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 not 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 , execute nodetool status, you will see
finish.
nodetool status
There are two nodes have been off line.
nodetool removenode 199553f1-f310-41e1-b4a4-f5a1fef7d1b8
wait for a moment
and on cassandra server terminal you will 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 not 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 , execute nodetool status, you will see
finish.
相关文章推荐
- NodeJS学习三之API
- passwordless SSH connectivity not set up between the following nodes
- Hexo带过滤功能的首页插件
- nodejs实现群聊和私聊
- 黄聪:HtmlAgilityPack中SelectSingleNode的XPath和CSS选择器
- Vert.x 3.3 server.js失败的尝试(怎么就没NodeJS好使呢?)
- Swap Nodes & Reverse Nodes in k-Group
- Node.js实现文件上传
- 24. Swap Nodes in Pairs
- Node的关系型数据库ORM库:bookshelf
- nodejs系列学习:module-----(三)
- nodejs 遍历目录结构
- node.js 上传文件
- hadoop多次格式化后,导致datanode启动不了
- nodejs 的fs 的所有用法
- NodeJS制作爬虫全过程
- NodeJS制作爬虫全过程
- Nodejs爬虫进阶教程之异步并发控制
- Nodejs爬虫进阶教程之异步并发控制
- 基于Node.js的强大爬虫 能直接发布抓取的文章哦