nosql

cassandra version upgrade(update)

'김용환' 2013. 11. 5. 15:44

** reference

http://www.datastax.com/docs/1.0/references/nodetool



cassandra 2.0의  version upgrade(update)는 기존과 동일하다. 

 (2.0.1 -> 2.0.2)


# ./nodetool -h localhost  version

ReleaseVersion: 2.0.1


thrift port  막음

# ./nodetool -h localhost disablethrift


gossip protocol 막음

# ./nodetool -h localhost disablegossip


# ./nodetool -h localhost status

DN 으로 표시


memtable에 있는 data들을 모두 sstable로 flush. write는 안되지만 read는 계속 되는 상황

# ./nodetool -h localhost drain

# ./nodetool -h localhost statusthrift

not running

# pkill -f 'java.*cassandra'

# ps -ef | grep java

(cassandra process는 존재하지 않음)


# 최근 버전으로 실행

# ./cassandra &


# ./nodetool -h localhost  version

ReleaseVersion: 2.0.2