Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 9921 invoked from network); 24 Mar 2010 12:57:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Mar 2010 12:57:46 -0000 Received: (qmail 6583 invoked by uid 500); 24 Mar 2010 12:31:06 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 6548 invoked by uid 500); 24 Mar 2010 12:31:05 -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 6540 invoked by uid 99); 24 Mar 2010 12:31:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Mar 2010 12:31:05 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Mar 2010 12:30:58 +0000 Received: by wwg30 with SMTP id 30so3960117wwg.31 for ; Wed, 24 Mar 2010 05:30:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=fcO5LcWDcs8IPu2zZPwcCX2c+2e4LOHLRpOJbLHBCBg=; b=jQi4grXCl6UbLdpF2/NATFl+XNHIV6IAXttUvM8DNeLhJc5zxk/PJhr9wv+FUj0ZFb um4boB8cYyQ02ZW3gSDadzDDLmJ7noh/JxYWioQnpbGE803JSYFHoDHpyHoB1Joj043G a7V5tCmdrUEfPROo7pCjqxKgUbBbvLHgC8Njc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=F73mHW6ySNSkFx8QmHk1tlRVpB1/6Vgx0oqFeWUZPTkz6Cxylbg7lsCueSlFTwb6Ss pQf8hTMyAy+S6reFR1vWg4TOftsAiNW2sHtpu76eW5VW7NUfW+7lO1Deu8STZkDwNUxV WNbRqjyI/KlWQNuw0wfnT/D8TxQM6IBACKGfw= MIME-Version: 1.0 Received: by 10.216.87.208 with SMTP id y58mr500888wee.30.1269433836752; Wed, 24 Mar 2010 05:30:36 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Wed, 24 Mar 2010 07:30:16 -0500 Message-ID: Subject: Re: how to delete data To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Currently there is no good way to do this. We're planning to add "truncate" support in https://issues.apache.org/jira/browse/CASSANDRA-531, let me know if you want to work on that. :) -Jonathan On Wed, Mar 24, 2010 at 4:03 AM, Ran Tavory wrote: > What's the recommended way to delete data? > For example, I want to wipe out an entire column family data from disk with > minimal effort. > I could: > > stop all hosts in the cluster > restart them until they finish playing commit logs > stop them again > delete all CF related files in my data directory at every node > start cluster again > ... but this is tedious. is there a nicer way? >