elodina / datastax-enterprise-mesos

DataStax Enterprise on Mesos
http://www.elodina.net
15 stars 4 forks source link

Possibility to specify ring delay, used during JOINING (defaults is 30s) #44

Closed dmitrypekar closed 8 years ago

dmitrypekar commented 8 years ago

During cassandra node bootstrap, it waits 30s as a part of JOINING routine:

WARN  18:23:06 Not marking nodes down due to local pause of 6643822869 > 5000000000
INFO  18:23:07 JOINING: schema complete, ready to bootstrap
INFO  18:23:07 JOINING: waiting for pending range calculation
INFO  18:23:07 JOINING: calculation complete, ready to bootstrap
INFO  18:23:07 JOINING: getting bootstrap token
INFO  18:23:07 JOINING: sleeping 30000 ms for pending range setup
INFO  18:23:17 JOINING: Starting to bootstrap...

This delay could be decreased via cassandra.ring_delay_ms system property.

Suppose we need general mechanism for passing system props to cassandra node, like --cassandra-jvm-options (similar to --jvm-options, that is used for Executor).