cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ali Ahsan <ali.ah...@panasiangroup.com>
Subject Re: How to delete bulk data from cassandra 0.6.3
Date Sat, 05 Feb 2011 18:00:31 GMT
Thanks for detailed replay


On 02/05/2011 10:01 PM, Edward Capriolo wrote:
> On Sat, Feb 5, 2011 at 11:35 AM, Ali Ahsan<ali.ahsan@panasiangroup.com>  wrote:
>> Thanks for replying Edward Capriolo.Will this effect cassandra ring
>>   integrity? Another question is that will cassandra work properly after this
>> operation.And will it be possible to restore deleted  data from backup?.
>>
>>> in 0.6.X
>>> pkill `pid of cassandra`
>>> rm -rf * /var/lib/cassandra/data/<keyspace>/<CF you want to delete>*
>>> (start cassandra)
>>>
>>>
>>
>> --
>> S.Ali Ahsan
>>
>> Senior System Engineer
>>
>> e-Business (Pvt) Ltd
>>
>> 49-C Jail Road, Lahore, P.O. Box 676
>> Lahore 54000, Pakistan
>>
>> Tel: +92 (0)42 3758 7140 Ext. 128
>>
>> Mobile: +92 (0)345 831 8769
>>
>> Fax: +92 (0)42 3758 0027
>>
>> Email: ali.ahsan@panasiangroup.com
>>
>>
>>
>> www.ebusiness-pg.com
>>
>> www.panasiangroup.com
>>
>> Confidentiality: This e-mail and any attachments may be confidential
>> and/or privileged. If you are not a named recipient, please notify the
>> sender immediately and do not disclose the contents to another person
>> use it for any purpose or store or copy the information in any medium.
>> Internet communications cannot be guaranteed to be timely, secure, error
>> or virus-free. We do not accept liability for any errors or omissions.
>>
>>
> I am not sure what you mean by data integrity.
>
> In short, when Cassandra starts up it searches it's data directories
> and loads up the data, index, bloom filters, and saved caches it
> finds.
>
> Unless the files are corrupt it will happily load up what it finds.
>
> Restores are done by the process your described , stop server, restore
> files, start server.
>
>


-- 
S.Ali Ahsan

Senior System Engineer

e-Business (Pvt) Ltd

49-C Jail Road, Lahore, P.O. Box 676
Lahore 54000, Pakistan

Tel: +92 (0)42 3758 7140 Ext. 128

Mobile: +92 (0)345 831 8769

Fax: +92 (0)42 3758 0027

Email: ali.ahsan@panasiangroup.com



www.ebusiness-pg.com

www.panasiangroup.com

Confidentiality: This e-mail and any attachments may be confidential
and/or privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person
use it for any purpose or store or copy the information in any medium.
Internet communications cannot be guaranteed to be timely, secure, error
or virus-free. We do not accept liability for any errors or omissions.


Mime
View raw message