An open API service indexing awesome lists of open source software.

https://github.com/tjake/cassandra-token-calculator

Specify token N out of M for the Random Paritioner
https://github.com/tjake/cassandra-token-calculator

Last synced: about 1 year ago
JSON representation

Specify token N out of M for the Random Paritioner

Awesome Lists containing this project

README

          

Calculates a initial token for the random paritioner assuming a fixed cluster size.

To run token calculator run:

java TokenCalculator N M

Where N: is the clockwise position of the token you wish to calculate. N starts at 0.
Where M: is the total number of nodes in the ring