Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 67503 invoked from network); 5 Feb 2011 17:02:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Feb 2011 17:02:14 -0000 Received: (qmail 91368 invoked by uid 500); 5 Feb 2011 17:02:12 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 91203 invoked by uid 500); 5 Feb 2011 17:02:09 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 91192 invoked by uid 99); 5 Feb 2011 17:02:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Feb 2011 17:02:09 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of edlinuxguru@gmail.com designates 209.85.161.44 as permitted sender) Received: from [209.85.161.44] (HELO mail-fx0-f44.google.com) (209.85.161.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Feb 2011 17:02:02 +0000 Received: by fxm9 with SMTP id 9so3706586fxm.31 for ; Sat, 05 Feb 2011 09:01:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=nh+b2VO7QirFsdc5i//oeD9nlUlF1HxoeFcguQr354w=; b=FvJWqHZKioxc10blFiXzjs+Ha2OhIPUTA49L7lHsELfh35l0etsqd22KDPDKWMurlZ DRwKZ5iflMEJ9fpUi+p0vVDCCP5bHu+IDtv4vELGQCU61BN5dSgWlTFbOEblXJkVlwZU pg7ntVlmPOhKSxzmtidtyJh2aftDmXsphxmEA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=fvLjHruXnhZtO/ZCpYTx4lLRDYHvrp3is3VCzpeUPspbvZ+BxPxzGfYEu+MGNBmkMa Z/6ixp6WQ8bpIUNBYuOnvKMB5BYQVeNVZg8tGHzRSXNXQpwP+CuWa8hqyXtqZoiTKA15 48jweEzS1BFwOAsc1vpzLOvBvgg0N55tb2NE4= MIME-Version: 1.0 Received: by 10.223.101.199 with SMTP id d7mr12784765fao.65.1296925300034; Sat, 05 Feb 2011 09:01:40 -0800 (PST) Received: by 10.223.115.12 with HTTP; Sat, 5 Feb 2011 09:01:39 -0800 (PST) In-Reply-To: <4D4D7C46.8070106@panasiangroup.com> References: <4D4BC36F.3040604@panasiangroup.com> <4D4BCF52.7080407@panasiangroup.com> <2019873521-1296838861-cardhu_decombobulator_blackberry.rim.net-1683316563-@b1.c3.bise7.blackberry> <4D4C5954.6020002@panasiangroup.com> <4D4D1479.7080705@panasiangroup.com> <4D4D7C46.8070106@panasiangroup.com> Date: Sat, 5 Feb 2011 12:01:39 -0500 Message-ID: Subject: Re: How to delete bulk data from cassandra 0.6.3 From: Edward Capriolo To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Sat, Feb 5, 2011 at 11:35 AM, Ali Ahsan wr= ote: > Thanks for replying Edward Capriolo.Will this effect cassandra ring > =A0integrity? Another question is that will cassandra work properly after= this > operation.And will it be possible to restore deleted =A0data from backup?= . > >> in 0.6.X >> pkill `pid of cassandra` >> rm -rf * /var/lib/cassandra/data//* >> (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.