rm /tmp/region.splits; for i in $(
create 'networkProfile3', {NAME => 'c', BLOOMFILTER => 'ROW', REPLICATION_SCOPE => '0', VERSIONS => '1', COMPRESSION => 'SNAPPY', MIN_VERSIONS => '1', TTL => '7776000', BLOCKSIZE => '65536', IN_MEMORY => 'false ', BLOCKCACHE => 'true'}, {SPLITS_FILE => '/tmp/region.splits'}seq 1 1 99)
; do printf "%02d00\n" $i >> /tmp/region.splits ; done2. flush sharded redis server
for i in $(seq 1 7)
do
host="flredis0"$i"-mini.private"
ssh $host '(echo "flushdb" | redis-cli)'
done
No comments:
Post a Comment