Pacific-Design.com

    
Home Index

1. Cassandra

2. Debugging

Cassandra / Debugging /

Debugging Cassandra


#----------- Disable selinux ---------------#
$ locate selinux
$ vi /etc/selinux/config
$ setenforce 0 --> instead of reboot
 
#----------------- Firewall ----------------#
$ service iptables save
$ service iptables stop
$ chkconfig iptables off
$ systemctl disable firewalld
 
#--- Telnet test connection on Port: 9160 ---#
$ telnet 192.168.1.208 9160
 
#------ DataStax Cassandra Service ----------#
$ service dse restart


#----------- Cassandra Logfiles -------------#
$ cat system.log | grep cassandra.yaml
$ cat system.log | grep handshake

$ tail -100f /var/log/cassandra/system.log
$ tail -100f /var/log/cassandra/output.log

#--------- Cassandra Configuration ----------#
$ locate cassandra.yaml
$ vi /etc/dse/cassandra/cassandra.yaml
$ vi /usr/share/dse/resources/cassandra/conf/cassandra.yaml

#---------------- NodeTool ------------------# 
$ nodetool info
$ nodetool repair
$ nodetool ring
$ nodetool status
$ nodetool compactionstats