Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4660817736 for ; Thu, 5 Mar 2015 01:51:33 +0000 (UTC) Received: (qmail 57843 invoked by uid 500); 5 Mar 2015 01:51:30 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 57801 invoked by uid 500); 5 Mar 2015 01:51:30 -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 57791 invoked by uid 99); 5 Mar 2015 01:51:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 01:51:30 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rcoli@eventbrite.com designates 74.125.82.178 as permitted sender) Received: from [74.125.82.178] (HELO mail-we0-f178.google.com) (74.125.82.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 01:51:25 +0000 Received: by wevl61 with SMTP id l61so50040200wev.2 for ; Wed, 04 Mar 2015 17:51:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=dfYcyrsLn4SOjsHqOUsw7BospPeUyBSidD6BZKtMiIw=; b=nBHS38l0M0TK2gWFVgkUC6ivF/YVG7mdEMTYr02XZsBfiiCfQhShDV2+t1zQROCzK7 Wh5JeU/RCp9bn4EsLHohKFGgrE8Zk1OyOmd9/nbZ+kuoR9QnAiCAriAQBhgityNVDEnT SQxEymgjh8De4oOsC/GmmYMdIoKCP4EMj9ALiq0XD7VB6KTjqlWLvFI6RrUbLs0gyyi1 zIB+IavFAvw2KGckD9UJAAqjEbHSYmR+g29zncYouJHdAqMciXYuBdMTjJ3lVnonf/60 cFprOWlfRM933kdceQlqFngBORqUDzDiTqYFxh2NaVI1UQYW0wkzcF0cyzPkngyELCJo UM5Q== X-Gm-Message-State: ALoCoQm9kdgszI31pDqeJPu6clsRkQfGSDEkT+06budnpwamM5RqOeC0nMQQMLQpekJwBgKjjpYV MIME-Version: 1.0 X-Received: by 10.194.88.37 with SMTP id bd5mr12919988wjb.125.1425520265196; Wed, 04 Mar 2015 17:51:05 -0800 (PST) Received: by 10.28.100.132 with HTTP; Wed, 4 Mar 2015 17:51:05 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Mar 2015 17:51:05 -0800 Message-ID: Subject: Re: Howto remove currently assigned data directory from 2.0.12 nodes From: Robert Coli To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary=047d7bf10aae070efa051080cd53 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bf10aae070efa051080cd53 Content-Type: text/plain; charset=UTF-8 On Wed, Mar 4, 2015 at 3:28 PM, Steffen Winther wrote: > Howto remove already assigned > data file directories from running nodes? > 1) stop node 2) move sstables from no-longer-data-directories into still-data-directories 3) modify conf file 4) start node I wonder how pending compactions are handled in this case; potential edge case problem. Try it and see. =Rob http://twitter.com/rcolidba --047d7bf10aae070efa051080cd53 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On W= ed, Mar 4, 2015 at 3:28 PM, Steffen Winther <cassandra.user@siim= net.dk> wrote:
Howto remove= already assigned
data file directories from running nodes?

1) stop node
2) move sstables from no-longer-data-directories = into still-data-directories
3) modify conf file
4) star= t node

I wonder how pending compactions are handle= d in this case; potential edge case problem. Try it and see.

=
=3DRob
--047d7bf10aae070efa051080cd53--