0
votes

I have my Cassandra data stored in /opt which has around 50G but now I see the data is filled and Cassandra shuts down because of the memory error. I see another folder which has more space. My question is,

  1. If I copy the entire folder from /opt to /xyz/ and configure the cassandra.yaml to the /xyz/, will there be a data loss?
  2. If I do nodetool remove the server where I have space issues, will my data be safe?

Thanks

1

1 Answers

0
votes
  1. Yes, it will work. Simply stop Casssandra, move the data and reconfigure the data path in cassandra.yaml.
  2. Doing nodetool decommission will make the node leave the cluster but it won't physically remove data from that node.