Skip to content

Commit

Permalink
fix bad nodetool command on runCleanup()
Browse files Browse the repository at this point in the history
  • Loading branch information
nmilford committed Mar 3, 2012
1 parent 585f2ea commit 5ebf794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cassandra/cassandraMaintenance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function runCompaction() {

function runCleanup() {
echo "$keyspace.$columnFamily cleanup started at $(date)" >> $logFile
nodetool -h $HOSTNAME -p $jmxPort compact $keyspace $columnFamily
nodetool -h $HOSTNAME -p $jmxPort cleanup $keyspace $columnFamily
echo "$keyspace.$columnFamily cleanup completed at $(date)" >> $logFile
}

Expand Down

0 comments on commit 5ebf794

Please sign in to comment.