Re:Re: can one keyspace has two groups of initial_token?

2011-12-18 Thread 魏金仙
Thank you very much! Could you please tell why the developers choose the design that token is a cluster setting but not a column family one? At 2011-12-18 01:44:23,Edward Capriolo edlinuxg...@gmail.com wrote: No. Token and partitioner are cluster wide settings. You have to run multiple

Re: Re: can one keyspace has two groups of initial_token?

2011-12-18 Thread Edward Capriolo
It has been mentioned before. In a nutshell the answer is Do not use ByteOrderPartitioner. It has the problem you mentioned multiple-column families with different distributions as well as hot-spot problems. Moving the token data to a column family level would be a large change. it only helps the

can one keyspace has two groups of initial_token?

2011-12-17 Thread 魏金仙
My question is whether two groups of initial_token can coexist since our goal is to partition data of each column family uniformly on 5 nodes. I deployed Cassandra 0.7.4 on a cluster of 5 nodes, using orderPreservingPartitioner. Two column families named CF1 and CF2 are created on one

Re: can one keyspace has two groups of initial_token?

2011-12-17 Thread Edward Capriolo
No. Token and partitioner are cluster wide settings. You have to run multiple instances of Cassandra. 2011/12/17 魏金仙 sei_...@126.com My question is whether two groups of initial_token can coexist since our goal is to partition data of each column family uniformly on 5 nodes. I deployed