Tag: cassandra
-
![一直报错:DEBUG [GossipTasks:1] 2020-07-27 10:24:59,898 Gossiper.java:337 - Convicting /xxx.xxx.xxx.xxx with status LEFT - alive false](https://moneyslow.com/wp-content/uploads/2020/07/cassandra.jpeg)
一直报错:DEBUG [GossipTasks:1] 2020-07-27 10:24:59,898 Gossiper.java:337 – Convicting /xxx.xxx.xxx.xxx with status LEFT – alive false
在节点node离开72个小时内,debug信息打印这条信息是正常的。
-
监控cassandra并重启的shell脚本
#!/bin/bash xxnumber=`ps -ef | grep cassandra | grep -v “grep”|wc -l` echo “process is runing ” if [ $xxnumber -eq 0 ] then echo “process is dead and restart….” /data/apache-cassandra-3.0.2/bin/cassandra fi
-
![cassandra RemovalStatus: Removing token Waiting for replication confirmation from [/x.x.x.x,/x.x.x.x,/x.x.x.x,/x.x.x.x].](https://moneyslow.com/wp-content/uploads/2017/05/xx-125x125.jpg)
cassandra RemovalStatus: Removing token Waiting for replication confirmation from [/x.x.x.x,/x.x.x.x,/x.x.x.x,/x.x.x.x].
cassandra 删除节点时候不动了,等待某一个node的状态复制,这时候可以强行结束这个dead node ./nodetool removenode force 注意后面不用带id了。
-
apache cassandra 3.9 大内存调优
采用G1 方式。 http://docs.datastax.com/en/archived/cassandra/3.x/cassandra/operations/opsTuneJVM.html