Re: Cassandra Cleanup and disk space

2015-11-30 Thread Robert Coli
On Thu, Nov 26, 2015 at 12:55 AM, Luigi Tagliamonte 
wrote:

> 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.
>

"writes out files 1:1 with their input files"

IIRC it does not delete single-sstable tombstones, but it might... ?

Most likely is what other poster said, that you didn't run cleanup at some
time in the past.

=Rob


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.”


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 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.”
>


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 Engineer | @calonso 
>
> On 26 November 2015 at 08:55, Luigi Tagliamonte  wrote:
>
>> 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.”
>>
>
>


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, "Carlos Alonso"  wrote:
>
>> 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 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.”
>>>
>>
>>


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.
>
> 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, "Carlos Alonso"  wrote:
>>
>>> 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 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.”

>>>
>>>