Add new DC to cluster

2015-06-07 Thread Prem Yadav
Hi, We have an existing cluster consisting of 3 DCs. Authentication is enabled. I am trying to add a new DC. I followed the steps mentioned at: http://docs.datastax.com/en/cassandra/2.0/cassandra/operations/ops_add_dc_to_cluster_t.html Bit, I still can't login to any of the nodes in the new DC us

Re: Add new DC to cluster

2015-06-07 Thread Anuj Wadehra
Hi Prem, I think system_auth keyspace uses SimpleStrategy by default and thus not applicable across dc.Please alter the keyspace to use NetworkTopology and set appropriate replication factor for both Dc. After that you can run full repair across dc on this keyspace. I dnt see any drawbacks o

Re: Add new DC to cluster

2015-06-07 Thread Prem Yadav
Thanks Anuj. In our setup it's already NetworkTopology for system_auth. Not sure if it was default or whether we altered it at some point. Repair seems to take forever. A few things that worked for me: I used cqlsh to connect to one of the nodes in existing DCs and set consistency to ALL. After th

Re: Decommission datacenter - repair?

2015-06-07 Thread Jens Rantil
Ah, that explains things. Thanks! On Fri, Jun 5, 2015 at 10:59 PM, Robert Coli wrote: > On Fri, Jun 5, 2015 at 5:15 AM, Jens Rantil wrote: > >> Datastax's documentation on "Decommissioning a data center >>

DSE 4.7 security

2015-06-07 Thread Moshe Kranc
The DSE 4.7 documentation says: You use the familiar relational database GRANT/REVOKE paradigm to grant or revoke permissions to access Cassandra data. Does this mean authorization is per table? What if I need finer grain authorization, e.g., per row or even per cell (e.g., a specific column in

Newly added node getting more data than expected

2015-06-07 Thread Jens Rantil
Hi, I had a 3-node (à 256 vnodes each) cluster with RF=3. I mistakenly added a fourth node with "num_tokens: 1" (that is, one vnode). I've always seen number of vnodes to be proportional to the amount of data a node would receive. Therefor, I was expecting the node to receive something like 1/(1+3

Re: Newly added node getting more data than expected

2015-06-07 Thread Jens Rantil
Hi again, I should also point out that `nodetool ring ...` only has one entry for "X.X.X.4" and that that token range is equally large as the other token ranges for the virtual nodes. Let me know if you need any more information from me. Cheers, Jens On Sun, Jun 7, 2015 at 11:19 PM, Jens Rantil