Re: Interesting use case

2016-06-09 Thread John Thomas
The example I gave was for when N=1, if we need to save more values I planned to just add more columns. On Thu, Jun 9, 2016 at 12:51 AM, kurt Greaves wrote: > I would say it's probably due to a significantly larger number of > partitions when using the overwrite method -

Re: Consistency level ONE and using withLocalDC

2016-06-09 Thread George Sigletos
Hi Alain, Thank you for your answer. I recently queried multiple times my cluster with consistency ONE and setting "myLocalDC" (withUsedHostsPerRemoteDc=1) However sometimes (not always) I got response from the node in the remote DC. All my nodes in "myLocalDC" were up and running. I was

Re: Empty snapshot created

2016-06-09 Thread Mradul Maheshwari
Hi Ben, Many thanks. I had tried this command earlier too but I guess my syntax was wrong. This time I just issued nodetool rebuild dc1 and took the snapshot after this. I could see the *.db files created. Earlier I was trying nodetool rebuild -- dc1 which I guess was wrong. Thanks for the

Empty snapshot created

2016-06-09 Thread Mradul Maheshwari
Hi, I am facing an issue when taking snapshots. The details of the setup are as follows 1. Cassandra Version 3.5 2. I have a keyspace named *other_map* with '*NetworkTopologyStrategy*' and replication factor 1 for 'dc1' 3. Added another datacenter 'dc2' in the existing cluster 4.

Re: Empty snapshot created

2016-06-09 Thread Ben Slater
After adding a DC you need to run nodetool rebuild. See the procedure here: https://docs.datastax.com/en/cassandra/2.1/cassandra/operations/ops_add_dc_to_cluster_t.html Cheers Ben On Fri, 10 Jun 2016 at 14:17 Mradul Maheshwari wrote: > Hi, > I am facing an issue when