Skip to content

Commit

Permalink
Readiness check fix: quotes, removed port from nodetool parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Kirillov committed Feb 13, 2019
1 parent f335843 commit 2451635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frameworks/cassandra/src/main/dist/svc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pods:
cmd: >
export JAVA_HOME=$(ls -d $MESOS_SANDBOX/jdk*/jre/) ;
export TASK_IP=$(./bootstrap --get-task-ip) &&
./apache-cassandra-{{CASSANDRA_VERSION}}/bin/nodetool status -p {{TASKCFG_ALL_JMX_PORT}} | grep -q -E UN( |\t)+$TASK_IP
./apache-cassandra-{{CASSANDRA_VERSION}}/bin/nodetool status | grep -q -E "UN( |\t)+$TASK_IP"
interval: {{READINESS_CHECK_INTERVAL}}
delay: {{READINESS_CHECK_DELAY}}
timeout: {{READINESS_CHECK_TIMEOUT}}
Expand Down

0 comments on commit 2451635

Please sign in to comment.