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 352689733 for ; Thu, 8 Mar 2012 22:05:12 +0000 (UTC) Received: (qmail 55931 invoked by uid 500); 8 Mar 2012 22:05:09 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 55906 invoked by uid 500); 8 Mar 2012 22:05: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 55895 invoked by uid 99); 8 Mar 2012 22:05:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 22:05:09 +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 drwoland@gmail.com designates 74.125.83.44 as permitted sender) Received: from [74.125.83.44] (HELO mail-ee0-f44.google.com) (74.125.83.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 22:05:05 +0000 Received: by eeke51 with SMTP id e51so313811eek.31 for ; Thu, 08 Mar 2012 14:04:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=1BPeKCCBYUON6Qf+8/TAmDpQsXPCaiD+gkBdcynwz3Y=; b=0EBY19JQVvu5V6JoBpPQbbvrpIPY5MuFxKgTQnnqhplVxBwAJTlDPrTmxr8SQ33RRa Mf9GVZW13DTO9r1aTATLTclc/V20eyR8vo+spYdEtJ06SaUUg9o95U8hV+ANxCNRZPod c6RwQ2EEe0SlBPrnhsj/Zh3VZBKV/SurSJYDIZVQ0s/ElGJ5KvEP17h9W/TAVUi+d1Hl gUlWAEuV8PJcdibwaVW+92jysP8RJoDVnoKqVxD1i3vd5zz8+OBs8WYjCC6Vm6ics4gi slnDZo8QqbJvArncu7dZy+PD/lgOMBpahJHa1qflXiCh8Royu5hqFSbyBpDvgcLpWuOh ALNg== MIME-Version: 1.0 Received: by 10.213.33.4 with SMTP id f4mr47403ebd.221.1331244283902; Thu, 08 Mar 2012 14:04:43 -0800 (PST) Sender: drwoland@gmail.com Received: by 10.213.114.144 with HTTP; Thu, 8 Mar 2012 14:04:43 -0800 (PST) In-Reply-To: <4F591D14.3060601@hiramoto.org> References: <1331232231.62730.YahooMailNeo@web31808.mail.mud.yahoo.com> <4F591D14.3060601@hiramoto.org> Date: Thu, 8 Mar 2012 14:04:43 -0800 X-Google-Sender-Auth: sa_uebj0WnBVo5CSZiJggIutF3M Message-ID: Subject: Re: offline compaction From: Mike Panchenko To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0015174bf1cca6b97504bac2764b X-Virus-Checked: Checked by ClamAV on apache.org --0015174bf1cca6b97504bac2764b Content-Type: text/plain; charset=ISO-8859-1 Yes, that is what would happen; some anti entropy mechanism would have to perform the replication after the fact (hinted handoff, read repair, manual repair etc). For most things, it's better to rely on the dynamic endpoint snitch and some sort of dynamic load balancing from the client (see: https://github.com/rantav/hector/blob/master/core/src/main/java/me/prettyprint/cassandra/connection/DynamicLoadBalancingPolicy.java) to automatically route around busy nodes. I don't remember when the referenced nodetool command was added; for older versions, a similar effect can be achieved using iptables or similar tools. On Thu, Mar 8, 2012 at 12:56 PM, Karl Hiramoto wrote: > On 03/08/12 21:40, Edward Capriolo wrote: > >> On Thu, Mar 8, 2012 at 1:43 PM, Feng Qu wrote: >> >>> Hello, is there a way to take one node out of ring and running a major >>> compaction? >>> >>> Feng Qu >>> >> http://www.jointhegrid.com/**highperfcassandra/?p=187 >> >> > What are the drawbacks to disable thrift and gossip? So you take a node > offine to do repair/compact, but then assuming writes are comming into your > cluseter at a steady rate, you have missing writes that need to be repaired > in the node that was offline? Is that what would happen? > > -- > Karl > --0015174bf1cca6b97504bac2764b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Yes, that is what would happen; some anti entropy mechanism would have to p= erform the replication after the fact (hinted handoff, read repair, manual = repair etc).

For most things, it's better to rely on= the dynamic endpoint snitch and some sort of dynamic load balancing from t= he client (see:=A0https://github.com/rantav/hector/blob/master/core/src/main/java= /me/prettyprint/cassandra/connection/DynamicLoadBalancingPolicy.java) t= o automatically route around busy nodes.

I don't remember when the referenced nodetool comma= nd was added; for older versions, a similar effect can be achieved using ip= tables or similar tools.

On Thu, M= ar 8, 2012 at 12:56 PM, Karl Hiramoto <karl@hiramoto.org> wrote:
On 0= 3/08/12 21:40, Edward Capriolo wrote:
On Thu, Mar 8, 2012 at 1:43 PM, Feng Qu<mail4qf@gmail.com> =A0wrote:
Hello, is there a way to take one node out of ring and running a major
compaction?

Feng Qu
http://www.jointhegrid.com/highperfcassandra/?p=3D187

What are the drawbacks to disable thrift and gossip? =A0So you take a node = offine to do repair/compact, but then assuming writes are comming into your= cluseter at a steady rate, you have missing writes that need to be repaire= d in the node that was offline? Is that what would happen?

--
Karl

--0015174bf1cca6b97504bac2764b--