Re: reducing disk space consumption

2016-02-11 Thread Romain Hardouin
As Mohammed said "nodetool clearsnaphost" will do the trick. Cassandra takes a snapshot by default before keyspace/table dropping or truncation. You can disable this feature if it's a dev node (see auto_snapshot in cassandra.yaml) but if it's a production node is a good thing to keep auto

Re: reducing disk space consumption

2016-02-11 Thread Ted Yu
Thanks, Mohammed and Romain. On Thu, Feb 11, 2016 at 12:54 AM, Romain Hardouin wrote: > As Mohammed said "nodetool clearsnaphost" will do the trick. > Cassandra takes a snapshot by default before keyspace/table dropping or > truncation. > You can disable this feature if

reducing disk space consumption

2016-02-10 Thread Ted Yu
Hi, I am using DSE 4.8.4 On one node, disk space is low where: 42G /var/lib/cassandra/data/usertable/data-0abea7f0cf9211e5a355bf8dafbfa99c Using CLI, I dropped keyspace usertable but the data dir above still consumes 42G. What action would free this part of disk (I don't need the data) ?

Re: reducing disk space consumption

2016-02-10 Thread sai krishnam raju potturi
suggestion : try the following command "lsof | grep DEL". If in the output if you see a lot of SSTable files; restart the node. The disk space will be claimed back. thanks Sai On Wed, Feb 10, 2016 at 9:59 AM, Ted Yu wrote: > Hi, > I am using DSE 4.8.4 > On one node,

RE: reducing disk space consumption

2016-02-10 Thread Mohammed Guller
Ted Yu [mailto:yuzhih...@gmail.com] Sent: Wednesday, February 10, 2016 6:59 AM To: user@cassandra.apache.org Subject: reducing disk space consumption Hi, I am using DSE 4.8.4 On one node, disk space is low where: 42G /var/lib/cassandra/data/usertable/data-0abea7f0cf9211e5a355bf8dafbfa99c Using