incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <>
Subject Re: how to verify the row key is evenly distributed
Date Tue, 09 Aug 2011 22:53:31 GMT
If your data is not evenly distributed check the tokens in the ring with "nodetool ring" they
should be evenly distributed. For background have a look at

if they are evenly distributed there are a couple of other things to look at:
- if you've moved the tokens, remember to do nodetool clean
- the nodes may just be compacting at different rates 
- you may have some very large rows 

nodetool getendpoints is calling the getNaturalEndpoints() operation on the StorageProxy MBean.
You can call this via JMX and via  JConsole. 


Aaron Morton
Freelance Cassandra Developer

On 9 Aug 2011, at 06:04, myreasoner wrote:

> Hi all,
> I have a CF using incremental integer as row keys.  In a 5-node cluster with
> RandomPartitioner, I've noticed the rows are not assigned evenly across
> nodes--two of them are 5 times heavier loaded than the rest.
> In nodetool, I can do
>  *getendpoints <keyspace> <cf> <key> - Print the end points that owns
> key*
> But is there any API I can call programmatically to determine the endpoints
> on a given set of row keys?
> --
> View this message in context:
> Sent from the mailing list archive at

View raw message