Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6C26D200B71 for ; Wed, 31 Aug 2016 10:51:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6A552160AB4; Wed, 31 Aug 2016 08:51:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 87197160A8C for ; Wed, 31 Aug 2016 10:51:07 +0200 (CEST) Received: (qmail 16636 invoked by uid 500); 31 Aug 2016 08:51:06 -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 16625 invoked by uid 99); 31 Aug 2016 08:51:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2016 08:51:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 8A2F2188738 for ; Wed, 31 Aug 2016 08:51:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.28 X-Spam-Level: * X-Spam-Status: No, score=1.28 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=nemesis-co-il.20150623.gappssmtp.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id yTH3vBUxiMgz for ; Wed, 31 Aug 2016 08:51:01 +0000 (UTC) Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id B02FC5FE3E for ; Wed, 31 Aug 2016 08:51:00 +0000 (UTC) Received: by mail-wm0-f48.google.com with SMTP id c133so22359841wmd.1 for ; Wed, 31 Aug 2016 01:51:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nemesis-co-il.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=RAt0ITbRZqjAoW3/w2xUVLLKSIrxtkxcU2+pkpQYjPs=; b=xznCexObgpJdpd7dnNINo1feF6l8R1iGv5Lh95tQvtNdah6PtGI3H+k8eDCjuDJjAH 6YrIibpGh/waNZjXayUvnP/SCb9wSjcE1CyQKRO0w6yPP1rOlTm4vJ0oXsXLa4kXupcG FEskIbxvXezazRtFBmvi+icJvtz9nCoNnuxhSfREuEYJYElXamnp7gMZ5jbLUvggs0SE J7DOM5w0ugQWvp+qDoHwJLkFPQhH2mBnagyuV9ucjrWDyBJsEXiJdv0/qxd2o6IdTBLB Mwp0EX/ZAaFPBiv2RBK0qPWPlfqbtTARkevZkKGBKGM8EH7z8PWVlVjjtcKU/dHjzDaZ ALoA== 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:from:date :message-id:subject:to; bh=RAt0ITbRZqjAoW3/w2xUVLLKSIrxtkxcU2+pkpQYjPs=; b=EfkBx24nF7Zk2SwwgCKGmDo83HyadQcWfg7alrofyr+wBazSJO3E1nvR2YXxXqOwk5 jELQG+Bm4tYDHp4TQNJbOm30O2MYPhoiksIIKk3cfvPX8uWxHyfHnrPa9EhC1x+UPWjv MjF+zGY5Rf+qV/ZzDs0jm1TaN+zet5IlM6dyigrlADZpQQ15c4qyBI9cMItF05FNZKn/ xWd+9bcJP3DTmd9tJ++RChTxQ/geB0jLzu5ws/3mfW/svJwkikJ4+kUUChFwAivgqHHd phHlg4DuaaZouZIbSUlwils0tr6g6i+c9sh5zGK5zNUmO16e32Pldz5Mb1xjMXesWe08 IW0A== X-Gm-Message-State: AE9vXwPplq27iqZ83VD18/Xjt58md9ZQoBOLHnhTk1L+oHdmgNvjf+nm567LPB+U83Rk6So/PJQKrkV4z6+oBw== X-Received: by 10.28.94.85 with SMTP id s82mr19615548wmb.24.1472633460012; Wed, 31 Aug 2016 01:51:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.167.78 with HTTP; Wed, 31 Aug 2016 01:50:59 -0700 (PDT) In-Reply-To: References: From: Moshe Levy Date: Wed, 31 Aug 2016 11:50:59 +0300 Message-ID: Subject: Re: Output of "select token from system.local where key = 'local' " To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary=001a1146d9f644cff7053b5a3249 archived-at: Wed, 31 Aug 2016 08:51:08 -0000 --001a1146d9f644cff7053b5a3249 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable . P On Wednesday, 31 August 2016, Alexander DEJANOVSKI wrote: > Hi Siddharth, > > yes, we are sure token ranges will never overlap (I think the start token > in describering output is excluded and the end token included). > > You can get per host information in the Datastax Java driver using : > > Set rangesForKeyspace =3D cluster.getMetadata().getTokenRang= es( > keyspaceName, host); > Bye, > > Alex > > Le mar. 30 ao=C3=BBt 2016 =C3=A0 10:04, Siddharth Verma < > verma.siddharth@snapdeal.com > > a =C3=A9c= rit : > >> Hi , >> Can we be sure that, token ranges in nodetool describering will be non >> overlapping? >> >> Thanks >> Siddharth Verma >> > --001a1146d9f644cff7053b5a3249 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


=C2=A0.
P
On Wednesday, 31 August 2016, Alexander= DEJANOVSKI <adejanovski@gmail.= com> wrote:
Hi Si= ddharth,

yes, we are sure token ranges will never overla= p (I think the start token in describering output is excluded and the end t= oken included).

You can get per host information i= n the Datastax Java driver using :=C2=A0

Set<TokenRange> rangesForKeyspace =3D =C2=A0cluster.getMe= tadata().getTokenRanges(= keyspaceName, host);

Bye,

Alex
=
Le=C2=A0mar. 30 ao=C3=BBt 2= 016 =C3=A0=C2=A010:04, Siddharth Verma <= verma.siddharth@snapdeal.com> a =C3=A9crit=C2=A0:
Hi ,
Can we = be sure that, token ranges in nodetool describering will be non overlapping= ?

Thanks
Siddharth Verma
<= /div>
--001a1146d9f644cff7053b5a3249--