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 5108E108BB for ; Wed, 3 Jul 2013 20:32:44 +0000 (UTC) Received: (qmail 61231 invoked by uid 500); 3 Jul 2013 20:32:41 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 61212 invoked by uid 500); 3 Jul 2013 20:32:41 -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 61204 invoked by uid 99); 3 Jul 2013 20:32:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 20:32:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [209.85.220.175] (HELO mail-vc0-f175.google.com) (209.85.220.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 20:32:36 +0000 Received: by mail-vc0-f175.google.com with SMTP id hr11so419231vcb.6 for ; Wed, 03 Jul 2013 13:31:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:content-type:x-gm-message-state; bh=K01JowuURvrxCIwC7v9DO1A5REhOQnsuA0+foRJBO4Y=; b=GoX/GBvqp3XtRulWAuf1cXyHYbhg+iqrfXk1Fl4Df8WJd83YMgDtnTYneTCnwJkwwv EeCthlIbpLE++MMn3RoYmvwdg7/LD9wtOeXngOIU4OoWuPpAitAKKCkIDTkuI+ioQHJE 0op/CBqKBWESSUoAr16U2v7WQiZi8Mr0glJKpCa0ZY8/QNv8LHEeil+EU8boIHTr2fn5 y1ACXaAkQ6H1yxpp0KyYGnNEeGgQ1uPKfPGsGqUkVQkvMgbUxjh8GvZ2wmMITecw4ort zxSrgMps8Ba/+1lMUzn8AsioLWD7iEUPLbomLNwIAitP7NQwdy4WCYY1NV5WrFxN6IGd kfXw== X-Received: by 10.52.171.80 with SMTP id as16mr668385vdc.81.1372883515454; Wed, 03 Jul 2013 13:31:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.210.40 with HTTP; Wed, 3 Jul 2013 13:31:35 -0700 (PDT) X-Originating-IP: [2.218.192.96] In-Reply-To: References: From: Richard Low Date: Wed, 3 Jul 2013 21:31:35 +0100 Message-ID: Subject: Re: Cassandra with vnode and ByteOrderedPartition To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=047d7b5d28d841ca7104e0a15a94 X-Gm-Message-State: ALoCoQk0ISN+S2ke/KRXE7yZ4IKc4w6SKiKa2oCgCmOfiAoVAtK20VlXS2lmawCl0FQ/Atd6meaG X-Virus-Checked: Checked by ClamAV on apache.org --047d7b5d28d841ca7104e0a15a94 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 3 July 2013 21:04, S=E1vio Teles wrote: We're using ByteOrderedPartition to programmatically choose the machine > which a objet will be inserted.* > > *How can I use *ByteOrderedPartition *with vnode on Cassandra 1.2? > Don't. Managing tokens with ByteOrderedPartitioner is very hard anyway, but with vnodes you have to manually manage many more tokens. Also I doubt BOP + vnodes has had any production testing. Richard. --047d7b5d28d841ca7104e0a15a94 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On 3 July 2013 21:04, S=E1vio Teles <= savio.tele= s@lupa.inf.ufg.br> wrote:

=
We're using= =A0ByteOrderedPartition to programmatically choose the machine= which a objet will be inserted.

How can I use ByteOrderedPartition with vnod= e on Cassandra 1.2?

Don't. =A0Managing tokens with ByteOrderedPartitioner is very hard an= yway, but with vnodes you have to manually manage many more tokens. =A0Also= I doubt BOP + vnodes has had any production testing.

Richard.
--047d7b5d28d841ca7104e0a15a94--