Looks like you are looking at old docs (pre Murmer3 partitioner). Latest are 
here (don’t think it has changed in 2.1 from 2.0.x)

http://www.datastax.com/documentation/cassandra/2.1/cassandra/configuration/configGenTokens_c.html

Murmer3 is definitely 64 bits

On Sep 28, 2014, at 5:55 PM, Kevin Burton <bur...@spinn3r.com> wrote:

> Hm.. is it 64 bits or 128 bits?
> 
> I’m using Murmur3Partitioner
> 
> … 
> 
> I can’t find any documentation on it (as usual.. ha)
> 
> This says:
> 
> http://www.datastax.com/docs/1.1/initialize/token_generation
> 
> > The tokens assigned to your nodes need to be distributed throughout the 
> > entire possible range of tokens (0 to 2127 -1)
> 
> so it would need to be 2^63 -1 or 2^127-1
> 
> 
> 
> On Sun, Sep 28, 2014 at 1:19 PM, graham sanderson <gra...@vast.com> wrote:
> It is expecting a 64 bit value … murmer3 partitioner uses 64 bit long tokens… 
> where did you get your 128 bit long from, and what partitioner are you using?
> 
> On Sep 28, 2014, at 1:39 PM, Kevin Burton <bur...@spinn3r.com> wrote:
> 
>> I’m trying to query an entire table in parallel by splitting it up in token 
>> ranges.
>> 
>> However, it’s not working because I get this:
>> 
>> cqlsh:blogindex>  select token(hashcode), hashcode from source where 
>> token(hashcode) >= 0 and token(hashcode) <= 
>> 17014118346046923173168730371588410572 limit 10;
>> Bad Request: unable to make long from 
>> '17014118346046923173168730371588410572'
>> 
>> … so I’m trying to figure out what’s going on here.
>> 
>> Is there some magic I have to use to force the string representation of the 
>> 128 bit long into a token pointer?
>> 
>> -- 
>> 
>> Founder/CEO Spinn3r.com
>> Location: San Francisco, CA
>> blog: http://burtonator.wordpress.com
>> … or check out my Google+ profile
>> 
>> 
> 
> 
> 
> 
> -- 
> 
> Founder/CEO Spinn3r.com
> Location: San Francisco, CA
> blog: http://burtonator.wordpress.com
> … or check out my Google+ profile
> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to