cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcasandra <mohitanch...@gmail.com>
Subject Re: Error when bringing up 3rd node
Date Fri, 18 Feb 2011 21:04:33 GMT

Thanks! This is what I got. Is this right?

public class TokenCalc{
  public static void main(String ...args){
       int nodes=3;
       for(int i = 1 ; i <= nodes; i++) {
                 System.out.println( (2 ^ 127) / nodes * i);
       }
  }
}

41
82
123
-- 
View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Error-when-bringing-up-3rd-node-tp6041409p6041471.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.

Mime
View raw message