Re: What is the way to scale down Cassandra/Kubernetes cluster from 3 to 1 nodes using cass-operator

2020-07-02 Thread vishal kharjul
Hello Many, I tried scale up and it's just need size parameter change . So try same for scale down. Just change the size parameter of CassandraDatacenter CRD and apply it again. Basically same step which you took to spinoff 3 node with just the size parameter changed. Operator will bring down

Corrupt sstables_activity

2020-07-02 Thread F
Good afternoon! I have a question related to a system level keyspace. Problem: While running a routine full repair on a specific keyspace and table where i had to remove one of the big data portions for corruption (sstablescrub failed), the system.log indicated that the specific keyspace and

RE: What is the way to scale down Cassandra/Kubernetes cluster from 3 to 1 nodes using cass-operator

2020-07-02 Thread Manu Chadha
Hi I changed the file and applied it but the new configuration hasn’t got applied. metadata: name: dc1 spec: clusterName: cluster1 serverType: cassandra serverVersion: "3.11.6" managementApiAuth: insecure: {} size: 1 <-- made change here storageConfig: ... kubectl

Re: Corrupt sstables_activity

2020-07-02 Thread F
R, Thank you for the reply. I was actually using this article to repair a normal table (a table not in the system keyspace). However, my issue is related to a system level keyspace. I don't believe this article will help me, as my questions are related to repairing system level keyspaces

Re: Corrupt sstables_activity

2020-07-02 Thread Reid Pinchback
Here’s an article link for repairing table corruption, something I’d saved back last year in case I ever needed it: https://blog.pythian.com/so-you-have-a-broken-cassandra-sstable-file/ Hope it helps. R From: F Reply-To: "user@cassandra.apache.org" Date: Thursday, July 2, 2020 at 12:50 PM

Re: Better way to define UDT's in Cassandra

2020-07-02 Thread Check Peck
Following up again on this. Any thoughts on this?

What is the way to scale down Cassandra/Kubernetes cluster from 3 to 1 nodes using cass-operator

2020-07-02 Thread Manu Chadha
Hi I have created a cluster using cass-operator - https://github.com/datastax/cass-operator. I suppose by default 3 replicas (3 node cluster) are created. I want to scale down the cluster from 3 to 1 nodes? I executed kubectl scale sts cluster1-dc1-default-sts --replicas=1 -n cass-operator

RE: What is the way to scale down Cassandra/Kubernetes cluster from 3 to 1 nodes using cass-operator

2020-07-02 Thread Manu Chadha
Thanks Alex. Will give this a try. So I just change the yaml file and hot-patch it or would I need to stop the cluster, delete it and make a new one? Sent from Mail for Windows 10 From: Oleksandr Shulgin Sent:

Re: What is the way to scale down Cassandra/Kubernetes cluster from 3 to 1 nodes using cass-operator

2020-07-02 Thread Oleksandr Shulgin
On Thu, Jul 2, 2020 at 9:21 AM Manu Chadha wrote: > Hi > > > > I have created a cluster using cass-operator - > https://github.com/datastax/cass-operator. I suppose by default 3 > replicas (3 node cluster) are created. > > > > I want to scale down the cluster from 3 to 1 nodes? I executed > > >

RE: What is the way to scale down Cassandra/Kubernetes cluster from 3 to 1 nodes using cass-operator

2020-07-02 Thread Manu Chadha
Re-edited as code and my notes are mixed up. Changed color of code to red Sent from Mail for Windows 10 From: Manu Chadha Sent: 02 July 2020 08:21 To: user@cassandra.apache.org

Re: What is the way to scale down Cassandra/Kubernetes cluster from 3 to 1 nodes using cass-operator

2020-07-02 Thread Oleksandr Shulgin
On Thu, Jul 2, 2020 at 9:29 AM Manu Chadha wrote: > Thanks Alex. Will give this a try. So I just change the yaml file and > hot-patch it or would I need to stop the cluster, delete it and make a new > one? > I've no experience with this specific operator, but I expect that editing the file and