datastax / cstar_perf

Apache Cassandra performance testing platform
Apache License 2.0
72 stars 34 forks source link

server.conf allows specifying cassandra username/password and keyspace to be used #129

Closed nastra closed 8 years ago

nastra commented 8 years ago

This allows specifying username / password in case C* is configured with password authentication in server.conf. It also allows to use a specific keyspace. In our case, we had cassandra_hosts point to a cluster with enabled password authentication.

[server]
cassandra_hosts=10.200.189.13,10.200.189.130,10.200.189.133
cassandra_user=<user>
cassandra_password=<password>
cassandra_keyspace=<keyspace>
aboudreault commented 8 years ago

LGTM, @EnigmaCurry Want to take a second look?

EnigmaCurry commented 8 years ago

LGTM too except if we can get rid of the duplicated code.

nastra commented 8 years ago

@EnigmaCurry @aboudreault I moved the method to lib/util.py now

EnigmaCurry commented 8 years ago

Great, thanks again.