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 8D53A10A11 for ; Wed, 3 Jul 2013 21:19:27 +0000 (UTC) Received: (qmail 60393 invoked by uid 500); 3 Jul 2013 21:19:25 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 60365 invoked by uid 500); 3 Jul 2013 21:19:25 -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 60357 invoked by uid 99); 3 Jul 2013 21:19:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 21:19:25 +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 (nike.apache.org: local policy) Received: from [209.85.212.181] (HELO mail-wi0-f181.google.com) (209.85.212.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 21:19:19 +0000 Received: by mail-wi0-f181.google.com with SMTP id hq4so591351wib.8 for ; Wed, 03 Jul 2013 14:18:38 -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:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=vaXi+cqmJTUl5lT6nL+AaqDnfqsDVIySSHL/0zr4a68=; b=aWpxZ3cR+awRj3yW/67lbYsfnWk43KLphNfdzb/BwFcRegvxoZ5Wt0EO6qNoDOQBrz C1Y8c0buZyMLM42Od19Fa9icUOLVZP8EAApkxxPUuh06EIhKIVDFv3lmWXup4XgU0cCI sJJwxT2cDgZ/dkvgXAm+l/QvUTy/Y1hu8XnUPWrn2FuUpL37G7S80H1OpkmbqTj1SLJs xV5uXs9yn2eB3Cc7X7WAJP1SHfZBe5yeDa+Tay0eRO/pZGYJzF+rhgaK99iIJWJ4Na5h b7sJ9mOUF5gDkkkrHxI2NR0+Y4iqtxJr3GZBW264G0vDPueA7Q2V1FQzsaWYhlQ/Lqem 9AmQ== MIME-Version: 1.0 X-Received: by 10.180.9.212 with SMTP id c20mr1573152wib.55.1372886318778; Wed, 03 Jul 2013 14:18:38 -0700 (PDT) Received: by 10.194.109.97 with HTTP; Wed, 3 Jul 2013 14:18:38 -0700 (PDT) X-Originating-IP: [200.137.197.228] In-Reply-To: References: Date: Wed, 3 Jul 2013 18:18:38 -0300 Message-ID: Subject: Re: Cassandra with vnode and ByteOrderedPartition From: =?ISO-8859-1?Q?S=E1vio_Teles?= To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a11c1879c591dde04e0a201e9 X-Gm-Message-State: ALoCoQno8IS9WrXUnqH1yftTdZ6yUxr348wAZ7S5dVeHst8IcgRidq3ZcOa4VJnzrAXwyNg2AOmp X-Virus-Checked: Checked by ClamAV on apache.org --001a11c1879c591dde04e0a201e9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable We were able to implement ByteOrderedPartition on Cassandra 1.1 and insert an object in a specific machine. However, with Cassandra 1.2 and VNodes we can't implement VNode with ByteOrderedPartitioner to insert an object in a specific machine. 2013/7/3 Richard Low > 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 dou= bt > BOP + vnodes has had any production testing. > > Richard. > --=20 Atenciosamente, S=E1vio S. Teles de Oliveira voice: +55 62 9136 6996 http://br.linkedin.com/in/savioteles Mestrando em Ci=EAncias da Computa=E7=E3o - UFG Arquiteto de Software Laboratory for Ubiquitous and Pervasive Applications (LUPA) - UFG --001a11c1879c591dde04e0a201e9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
We were able to implement ByteOrde= redPartition on Cassandra 1.1 and insert an object in a specific machine.
However, with Cassandra 1.2 and VNodes we can= 't implement VNode with ByteOrderedPartitioner to insert = an object in a specific machine.


2013/7/3 Richard Low <richard@wentnet.com>
On 3 July 2013 21:04, S=E1vio Teles <savio.teles@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.



--
Atenciosamente,
S=E1vio S. Teles de Oliveira
voice: +55 62 9136= 6996
http://br.linkedin.com/in/savioteles
Mestrando em Ci=EAncias da Computa=E7=E3o - UFG
Arquiteto de Software
Laboratory for Ubiquitous and Pervasive Applications (LUP= A) - UFG
--001a11c1879c591dde04e0a201e9--