Skip to Content
Mastering Apache Cassandra 3.x - Third Edition
book

Mastering Apache Cassandra 3.x - Third Edition

by Aaron Ploetz, Tejaswi Malepati
October 2018
Beginner to intermediate content levelBeginner to intermediate
348 pages
10h
English
Packt Publishing
Content preview from Mastering Apache Cassandra 3.x - Third Edition

Single token range per node

Prior to Apache Cassandra 1.2, nodes were assigned contiguous ranges of token values. With this approach, token ranges had to be computed and configured manually, by setting the initial_token property in cassandra.yaml. A possible token distribution (using Murmur3Partitioner) with single token ranges assigned per node is as follows:

Node #

Start token

End token

0

5534023222112865485

-9223372036854775808

1

-9223372036854775807

-5534023222112865485

2

-5534023222112865484

-1844674407370955162

3

-1844674407370955161

1844674407370955161

4

1844674407370955162

5534023222112865484

Table 2.1: An example of the token range assignments for a five-node cluster, where each ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Apache Cassandra - Second Edition

Mastering Apache Cassandra - Second Edition

Nishant Neeraj

Publisher Resources

ISBN: 9781789131499Supplemental Content