Cassandra Cleanup and disk space

2015-11-26 Thread Luigi Tagliamonte
Hi Everyone, I'd like to understand what cleanup does on a running cluster when there is no cluster topology change, i did a test and i saw the cluster disk space shrink of 200GB. I'm using cassandra 2.1.9. -- Luigi --- “The only way to get smarter is by playing a smarter opponent.”

Change the rack of a server

2015-11-26 Thread Badrjan
So I have a 8 node cluster and I would like to change the rack of one node. How should I do that?  B.

Re: Cassandra Cleanup and disk space

2015-11-26 Thread Carlos Alonso
May it be a SizeTieredCompaction of big SSTables just finished and freed some space? Carlos Alonso | Software Engineer | @calonso On 26 November 2015 at 08:55, Luigi Tagliamonte wrote: > Hi Everyone, > I'd like to understand what cleanup does on

RE: list data value multiplied x2 in multi-datacenter environment

2015-11-26 Thread Ngoc Minh VO
Thanks Duy Hai for these details. We you know whether the problems have been fixed or planned to be fixed? We are using C* 2.0.14. I didn't find any jira ticket concerning the issue. Regards, From: DuyHai Doan Sent: Wednesday, November 25, 2015 9:39:40 PM To:

Re: Cassandra Cleanup and disk space

2015-11-26 Thread Luigi Tagliamonte
I did it 2 times and in both times it freed a lot of space, don't think that it's just a coincidence. On Nov 26, 2015 10:56 AM, "Carlos Alonso" wrote: > May it be a SizeTieredCompaction of big SSTables just finished and freed > some space? > > Carlos Alonso | Software

Re: list data value multiplied x2 in multi-datacenter environment

2015-11-26 Thread DuyHai Doan
First you need to provide a way to reproduce it otherwise the issue won't be processed. Then create a JIRA . On Thu, Nov 26, 2015 at 4:44 PM, Ngoc Minh VO wrote: > Thanks Duy Hai for these details. > > We you know whether the problems have been fixed or planned to be

Re: Cassandra Cleanup and disk space

2015-11-26 Thread sai krishnam raju potturi
Could it have been that you expanded your cluster a while back, but did not cleanup then. On Thu, Nov 26, 2015, 07:51 Luigi Tagliamonte wrote: > I did it 2 times and in both times it freed a lot of space, don't think > that it's just a coincidence. > On Nov 26, 2015 10:56 AM,

Re: Cassandra Cleanup and disk space

2015-11-26 Thread Jai Bheemsen Rao Dhanwada
Cleanup is specific to a node, may be cleanup was ran one node before and was ran another node the second time. On Thu, Nov 26, 2015 at 6:37 PM, sai krishnam raju potturi < pskraj...@gmail.com> wrote: > Could it have been that you expanded your cluster a while back, but did > not cleanup then. >

Three questions about cassandra

2015-11-26 Thread Hadmut Danisch
Hi, I'm currently reading through heaps of docs and web pages to learn cassandra, but there's still three questions I could not find answers for, maybe someone could help: 1. What happens, if a node is down for some time (hours, days, weeks,...) for whatever reason (hardware, power, or

Re: Three questions about cassandra

2015-11-26 Thread Jeff Jirsa
1) It comes online in its former state. The operator is responsible for consistency beyond that point. Common solutions would be `nodetool repair` (and if you get really smart, you can start the daemon with the thrift/native listeners disabled, run repair, and then enable listeners, so that

Re: Change the rack of a server

2015-11-26 Thread Jack Krupansky
What RF are you using? How many data centers? What rack configuration are you currently using/ Are you in fact using a rack-aware network topology partitioner? Specifically, what are you attempting to accomplish - why change the rack at all? Not that changing the rack is necessarily bad, just to

Re: Change the rack of a server

2015-11-26 Thread Paulo Motta
Changing the rack of a live node is discouraged, since the ring ranges the node is responsible for will change, meaning the node will not own part of the data for its new ranges and other nodes may not have some of its current data. It will be a forbidden operation in the upcoming versions of

Re: Change the rack of a server

2015-11-26 Thread Jack Krupansky
Right, and I also meant to refer to the anti-pattern doc related to racks: http://docs.datastax.com/en/cassandra/2.0/cassandra/architecture/architecturePlanningAntiPatterns_c.html Although that doc seems to discourage rack selection entirely when in fact people should try to have replicas placed