Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 56149 invoked from network); 5 Feb 2011 16:22:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Feb 2011 16:22:55 -0000 Received: (qmail 72056 invoked by uid 500); 5 Feb 2011 16:22:53 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 71871 invoked by uid 500); 5 Feb 2011 16:22:49 -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 71863 invoked by uid 99); 5 Feb 2011 16:22:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Feb 2011 16:22:48 +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 (athena.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 16:22:44 +0000 Received: by fxm9 with SMTP id 9so3681159fxm.31 for ; Sat, 05 Feb 2011 08:22:22 -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=IMBy8WJhKURkvLSt7nLLdSKfGWxgPJ+wlnbglHRYkZ4=; b=EkuhaixqT3VQa3ZpW6Ip/BZ7R7ihaVoxxYoA2WZpeW5pgLJBRFlQ3zYx9pOaRNK2xf bn2tm0yDgRFsezrED7u2U8aIw+VhZnOZg1i2PFpbnmdIdCqkEMIxm2qb9W0IaqjwnD34 Hef7HYvhLNUgDR5FaMirQw8mTMDlxKyoC3Sdk= 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=iMbSmBvmleO66zKoDADS/fcKck5b8khdW0/g29Dxooht9b3CSTPb5Y/VfPHFTXW9Iq GiSlAAyJk2qwtJ7WcimsGBXZpHkLqCShOvUdipk1jK2gdM7JPHTnhytNm6Q7NyJIHkaB 8eRIp0dXPmKmwltKtr5geDH3MQb2pHxfmsOZQ= MIME-Version: 1.0 Received: by 10.223.72.197 with SMTP id n5mr12674347faj.8.1296922940939; Sat, 05 Feb 2011 08:22:20 -0800 (PST) Received: by 10.223.115.12 with HTTP; Sat, 5 Feb 2011 08:22:20 -0800 (PST) In-Reply-To: <4D4D1479.7080705@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> Date: Sat, 5 Feb 2011 11:22:20 -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 On Sat, Feb 5, 2011 at 4:12 AM, Ali Ahsan wro= te: > Any update on this? > > On 02/05/2011 12:53 AM, Ali Ahsan wrote: >> >> So do we need to write a script ? or its some thing i can do as a system >> admin without involving and developer.If yes please guide me in this cas= e. >> >> >> >> >> On 02/04/2011 10:36 PM, Jonathan Ellis wrote: >>> >>> In that case, you should shut down the server before removing data file= s. >>> >>> On Fri, Feb 4, 2011 at 9:01 AM, =A0wrote: >>>> >>>> I thought truncate() was not available before 0.7 (in 0.6.3)....was it= ? >>>> >>>> --------------------------------------------------- >>>> Sent from BlackBerry >>>> >>>> -----Original Message----- >>>> From: Jonathan Ellis >>>> Date: Fri, 4 Feb 2011 08:58:35 >>>> To: user >>>> Reply-To: user@cassandra.apache.org >>>> Subject: Re: How to delete bulk data from cassandra 0.6.3 >>>> >>>> You should use truncate instead. (Then remove the snapshot truncate >>>> creates.) >>>> >>>> On Fri, Feb 4, 2011 at 2:05 AM, Ali Ahsan >>>> =A0wrote: >>>>> >>>>> Hi All >>>>> >>>>> Is there any way i can delete column families data (not removing colu= mn >>>>> families ) from Cassandra without effecting ring integrity.What if = =A0i >>>>> delete >>>>> some column families data in linux with rm command =A0? >>>>> >>>>> -- >>>>> 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 th= e >>>>> 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= . >>>>> >>>>> >>>> >>>> >>>> -- >>>> Jonathan Ellis >>>> Project Chair, Apache Cassandra >>>> co-founder of DataStax, the source for professional Cassandra support >>>> http://www.datastax.com >>>> >>> >>> >> >> > > > -- > 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. > > in 0.6.X pkill `pid of cassandra` rm -rf * /var/lib/cassandra/data//* (start cassandra)