commit | 2855f337da20088916297a55c3fb62cb53e5199f | [log] [tgz] |
---|---|---|
author | Masayoshi Kobayashi <masayoshi@onlab.us> | Wed Feb 27 22:30:53 2013 +0000 |
committer | Masayoshi Kobayashi <masayoshi@onlab.us> | Wed Feb 27 22:30:53 2013 +0000 |
tree | 73e5ac944f076beaea3c8c88c4f36f34ed8d7366 | |
parent | fc5e237062dcfe01e06046faa7f155cd3676b176 [diff] |
Script to clean up cassandra db (onos)
diff --git a/clean-cassandra.sh b/clean-cassandra.sh new file mode 100755 index 0000000..a8a88eb --- /dev/null +++ b/clean-cassandra.sh
@@ -0,0 +1,7 @@ +#! /usr/bin/expect +set timeout 5 +spawn ~/apache-cassandra-1.1.4/bin/cassandra-cli +expect "\[default\@unknown\]" +send "drop onos;\r" +expect "\[default@unknown\]" +send "quit;\r"