summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornoahs <noah.shogan@gmail.com>2017-11-22 09:28:52 +0200
committerAvi Gaffa <avi.gaffa@amdocs.com>2017-11-22 10:32:48 +0000
commitf62890e8860893fdd5985d5c605882b6fcce2e8c (patch)
tree4e8784b1445469e44d74f35a04774ba0b9baafe8
parent83a7d1bdcfb13cbb303ffafc032680fcc7827565 (diff)
changing replication factor
from 3 to 1 Change-Id: If5b45ad250389d2fcccc5afbda0091bcf5212435 Issue-ID: SDC-671 Signed-off-by: noahs <noah.shogan@amdocs.com>
-rw-r--r--openecomp-be/tools/build/scripts/generate-cassandra-init-cql.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/openecomp-be/tools/build/scripts/generate-cassandra-init-cql.sh b/openecomp-be/tools/build/scripts/generate-cassandra-init-cql.sh
index 0221b20a43..eaa9a3f59d 100644
--- a/openecomp-be/tools/build/scripts/generate-cassandra-init-cql.sh
+++ b/openecomp-be/tools/build/scripts/generate-cassandra-init-cql.sh
@@ -27,7 +27,7 @@ usage() { echo "Usage: $0 <db-cql-json-file> keyspace yes/no, for example: $0 ca
main()
{
if [ $3 == 'yes' ]; then
- echo "CREATE KEYSPACE IF NOT EXISTS dox WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 3 };"
+ echo "CREATE KEYSPACE IF NOT EXISTS dox WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };"
fi
echo "USE dox;"
$RUN_PATH/parse-json.py -t create -f $1