One of the secrets to Apache Cassandra's™ performance is the use of a ring that keeps track of tokens. This ring enables Cassandra to know exactly which nodes contain which partitions. The ring also eliminates any single points of failure.
In this scenario, you will:
- Understand the Cassandra token ring
- Create a two-node cluster
How Cassandra's ring works
We've already downloaded Cassandra for you.
On node2, we'll edit the
Change the initial_token value and set it to 9223372036854775807 (note you need a space between the colon and the value). This node will manage the second half of the token range--the positive tokens.