Clarification on num_tokens setting

2013-02-05 Thread Baron Schwartz
As I understand the num_tokens setting, it makes Cassandra do the following pseudocode when a new node is added: for 1...num_tokens do my_token = rand(0, 2^128-1) next_token = min(tokens in cluster where token > my_token) my_range = (my_token, next_token - 1) done Now the new node owns n

Why do Datastax docs recommend Java 6?

2013-02-05 Thread Baron Schwartz
The Datastax docs repeatedly say (e.g. http://www.datastax.com/docs/1.2/install/install_jre) that Java 7 is not recommended, but they don't say why. It would be helpful to know this. Does anyone know? The same documentation is referenced from the Cassandra wiki, for example, http://wiki.apache.org