diff options
Diffstat (limited to 'databases/cassandra2/files/repaircluster.in')
-rw-r--r-- | databases/cassandra2/files/repaircluster.in | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/databases/cassandra2/files/repaircluster.in b/databases/cassandra2/files/repaircluster.in deleted file mode 100644 index 678cfa4f4a4d..000000000000 --- a/databases/cassandra2/files/repaircluster.in +++ /dev/null @@ -1,12 +0,0 @@ -#! /bin/sh -set -e -PATH=/bin:/usr/bin:%%LOCALBASE%%/bin:%%PREFIX%%/bin -NODETOOL=%%DATADIR%%/bin/nodetool - -if test $# -eq 0; then - echo "$0 <any node in cluster> [keyspace]" - exit 1; -fi -for i in `$NODETOOL -h $1 ring | cut -d ' ' -f 1 | grep -e '^[0-9]'`; do - $NODETOOL -h $i repair $2 -done |