AppController/lib/cassandra_helper.rb
# Starts Cassandra on this machine. Because this machine runs the DB Master
# role, it starts Cassandra first.
#
# Args:
#   clear_datastore: Remove any pre-existent data in the database.
#   needed: The number of nodes required for quorum.
Starts Cassandra on this machine. Because this machine runs the DB Master
role, it starts Cassandra first.

Remove any pre-existent data in the database.
needed: The number of nodes required for quorum.
Starts Cassandra on this machine . Because this machine runs the DB Master role it starts Cassandra first . Remove any pre - existent data in the database . needed : The number of nodes required for quorum .
def start_db_master(clear_datastore, needed)
  @state = "Starting up Cassandra seed node"
  Djinn.log_info(@state)
  start_cassandra(clear_datastore, needed)
end
def start_db_master ( clear_datastore , needed ) @state = "Starting up Cassandra seed node" Djinn . log_info ( @state ) start_cassandra ( clear_datastore , needed ) end
Starts Cassandra on this machine.
Starts Cassandra on this machine .
clear_datastore
<not_specific>
needed
<not_specific>