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 67DC3DD76 for ; Fri, 31 Aug 2012 05:39:38 +0000 (UTC) Received: (qmail 99829 invoked by uid 500); 31 Aug 2012 05:39:36 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 99782 invoked by uid 500); 31 Aug 2012 05:39:35 -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 99770 invoked by uid 99); 31 Aug 2012 05:39:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2012 05:39:35 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of casey@deccio.net designates 209.85.212.44 as permitted sender) Received: from [209.85.212.44] (HELO mail-vb0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2012 05:39:29 +0000 Received: by vbbez10 with SMTP id ez10so3180542vbb.31 for ; Thu, 30 Aug 2012 22:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=deccio.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ycHwr0AroCC06CDM2s9a2Rg09a8BPPIKwzIiargNUJI=; b=et8BVM4FB4wvFhn+D+IlUVYQMLGBAbz9IL1rXZQSzVOFjnLQOTVPTzqV+JdnCEDZxf X+mpg95i5CexMZDMRkPCkizNP9+8afIJbxklzKVAvyj6f7zcU3XoQM8Hgtm7gXHcHuoM BlzwFBvxNIBQ5uHjVSlysFmH2XuDoyAtJXyPw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=ycHwr0AroCC06CDM2s9a2Rg09a8BPPIKwzIiargNUJI=; b=EP2eUSBbAWYdx6ho4EUmJYQOkBt8heHShQNzLtWReH3iQnodDDkI0zGlbswhOGYH/x s2q40ntse4mJAELEtNZkKsklxh6JMxxYF0/6mNjCfGc1nGu/y78jB3c99fxqOXfvAuph lkWltv1w1IHIHvr3Px/zkr5wLUqPlRkEY0voixZS7TbJwKvGMZTUUn9zWqhMvS/2w6Jd VhhFSoyOP/blfmwo2u/qScDc68Ro2jDehuP6UD5ehKAW06Agw/DISDm3uQ5TV/n10Bnh A5JKs1ZeA5oyBUpjXo0/2e1JTaFveMEytmhqqEfejB/Y25XLBCHSggFgd7noOjCtrWj1 ItOQ== MIME-Version: 1.0 Received: by 10.220.142.79 with SMTP id p15mr5157473vcu.24.1346391548455; Thu, 30 Aug 2012 22:39:08 -0700 (PDT) Received: by 10.58.32.234 with HTTP; Thu, 30 Aug 2012 22:39:08 -0700 (PDT) In-Reply-To: References: Date: Thu, 30 Aug 2012 22:39:08 -0700 Message-ID: Subject: Re: adding node to cluster From: Casey Deccio To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=f46d042fdb3ef96a2204c889353e X-Gm-Message-State: ALoCoQl+ndaElAXVlsspFpuv9qtlVP0UqhjX0PM7GQVrsBhEl36qgHar7wwg0aa2wGTP9xvxWP/w --f46d042fdb3ef96a2204c889353e Content-Type: text/plain; charset=ISO-8859-1 On Thu, Aug 30, 2012 at 11:21 AM, Rob Coli wrote: > On Thu, Aug 30, 2012 at 10:18 AM, Casey Deccio wrote: > > I'm adding a new node to an existing cluster that uses > > ByteOrderedPartitioner. The documentation says that if I don't > configure a > > token, then one will be automatically generated to take load from an > > existing node. > > What I'm finding is that when I add a new node, (super) > > column lookups begin failing (not sure if it was the row lookup failing > or > > the supercolumn lookup failing), and I'm not sure why. > > 1) You almost never actually want BOP. > 2) You never want Cassandra to pick a token for you. IMO and the > opinion of many others, the fact that it does this is a bug. Specify a > token with initial_token. > 3) You never want to use Supercolumns. The project does not support > them but currently has no plan to deprecate them. Use composite row > keys. > 4) Unless your existing cluster consists of one node, you almost never > want to add only a single new node to a cluster. In general you want > to double it. > > In summary, you are Doing It just about as Wrong as possible... but on > to your actual question ... ! :) > > Well, at least I'm consistent :) Thanks for the hints. Unfortunately, when I first brought up my system--with the goal of getting it up quickly--I thought BOP and Supercolumns were the way to go. Plus, the small "cluster" of nodes I was using was on a hodgepodge of hardware. I've since had a chance to think somewhat about redesigning and rearchitecting, but it seems like there's no "easy" way to convert it properly. Step one was to migrate everything over to a single dedicated node on reasonable hardware, so I could begin the process, which brought me to the issue I initially posted about. But the problem is that this is a live system, so data loss is an issue I'd like to avoid. > In what way are the lookups "failing"? Is there an exception? > > No exception--just failing in that the data should be there, but isn't. Casey --f46d042fdb3ef96a2204c889353e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Aug 30, 2012 at 11:21 AM, Rob Coli <rcoli@palominodb.com>= ; wrote:
On Thu, Aug 30, 2012 at 10:18 AM, Casey Deccio <casey@deccio.net> wrote:
> I'm adding a new node to an existing cluster that uses
> ByteOrderedPartitioner. =A0The documentation says that if I don't = configure a
> token, then one will be automatically generated to take load from an > existing node.
> What I'm finding is that when I add a new node, (super)
> column lookups begin failing (not sure if it was the row lookup failin= g or
> the supercolumn lookup failing), and I'm not sure why.

1) You almost never actually want BOP.
2) You never want Cassandra to pick a token for you. IMO and the
opinion of many others, the fact that it does this is a bug. Specify a
token with initial_token.
3) You never want to use Supercolumns. The project does not support
them but currently has no plan to deprecate them. Use composite row
keys.
4) Unless your existing cluster consists of one node, you almost never
want to add only a single new node to a cluster. In general you want
to double it.

In summary, you are Doing It just about as Wrong as possible... but on
to your actual question ... ! :)


Well, at least I'm consistent :)=A0 Thanks fo= r the hints.=A0 Unfortunately, when I first brought up my system--with the = goal of getting it up quickly--I thought BOP and Supercolumns were the way = to go.=A0 Plus, the small "cluster" of nodes I was using was on a= hodgepodge of hardware.=A0 I've since had a chance to think somewhat a= bout redesigning and rearchitecting, but it seems like there's no "= ;easy" way to convert it properly.=A0 Step one was to migrate everythi= ng over to a single dedicated node on reasonable hardware, so I could begin= the process, which brought me to the issue I initially posted about.=A0 Bu= t the problem is that this is a live system, so data loss is an issue I'= ;d like to avoid.
=A0
In what way are the lookups "failing"? Is there an exception?


No exception--just failing in that the data should be there, bu= t isn't.

Casey
--f46d042fdb3ef96a2204c889353e--