Change: start-zk.conf and start-cassandra.sh copies config files in conf/{zoo.cfg, cassandra.yaml} to it's conf dir (instead of referring it)
diff --git a/start-cassandra.sh b/start-cassandra.sh
index ffc21e4..3bc62e4 100755
--- a/start-cassandra.sh
+++ b/start-cassandra.sh
@@ -30,6 +30,7 @@
# Run cassandra
echo "Starting cassandra"
+ cp ${ONOS_HOME}/conf/cassandra.yaml $CASSANDRA_DIR/conf
$CASSANDRA_DIR/bin/cassandra > $CASSANDRA_LOG 2>&1
}
diff --git a/start-zk.sh b/start-zk.sh
index 26db2fa..ddb2cb9 100755
--- a/start-zk.sh
+++ b/start-zk.sh
@@ -8,7 +8,8 @@
function start {
# Run Zookeeper with our configuration
echo "Starting Zookeeper"
- $ZK_DIR/bin/zkServer.sh start $ZK_CONF
+ cp $ZK_CONF $ZKDIR/conf
+ $ZK_DIR/bin/zkServer.sh start
}
function stop {