I noticed in the code for CassandraFileSystemStore.java that it tries to read cfs.replication from the system properties. What is the correct way to set this in a settings file? Should this go into $BRISK_HOME/resources/hadoop/conf/core-site.xml? Or is there a cassandra config file where this should get set. I'd like to boot up the cluster with CFS replication set to 3.
Changing CFS replication factor
(4 posts) (2 voices)-
Posted 2 years ago #
-
Hi Matt,
The beta1 packages don't include this hook yet (we will add to initial startup config in beta2) but for now you can change this using the cassandra-cli
update keyspace cfs with strategy_options=[{replication_factor:3}];
Posted 2 years ago # -
If I set this as a system property (ie: -Dcfs.replication=3 at JVM invocation) in one of the startup scripts then it should get picked up right?
Thus far, I haven't started the task-trackers on my cluster, so the CFS keyspace hasn't been created yet.
Posted 2 years ago # -
Ah ok, then you can start it manually like so:
brisk cassandra -t -Dcfs.replication=3
Posted 2 years ago #
Reply
You must log in to post.
