Commit b3bb81f7 authored by Axel Auweter's avatar Axel Auweter
Browse files

Determine Cassandra startup by monitoring CQL instead of THRIFT port.

parent ee728282
......@@ -76,8 +76,8 @@ case $1 in
# Start Cassandra
cassandra -p $CASSANDRA_PID_FILE
# Wait till cassandra is up
wait_for_listen_port 9160
# Wait till cassandra is up (port 9042 is native transport)
wait_for_listen_port 9042
# Start CollectAgent (TTL for the data is 100 days)
#env LD_LIBRARY_PATH=$LD_LIBRARY_PATH collectagent -D -l 0.0.0.0 -h 127.0.0.1 -t 8640000
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment