cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Yudovin <vla...@winguzone.com>
Subject Re: Convert single node C* to cluster (rebalancing problem)
Date Thu, 01 Jun 2017 13:31:47 GMT
Did you run "nodetool cleanup" on first node after second was bootstrapped? It should clean
rows not belonging to node after tokens changed.



Best regards, Vladimir Yudovin, 

Winguzone - Cloud Cassandra Hosting






---- On Wed, 31 May 2017 03:55:54 -0400 Junaid Nasir &lt;jnasir@an10.io&gt; wrote
----




Cassandra ensure that adding or removing nodes are very easy and that load is balanced between
nodes when a change is made. but it's not working in my case.

I have a single node C* deployment (with 270 GB of data) and want to load balance the data
on multiple nodes, I followed this guide 

`nodetool status` shows 2 nodes but load is not balanced between them

Datacenter: dc1 =============== Status=Up/Down |/ State=Normal/Leaving/Joining/Moving -- Address
Load Tokens Owns (effective) Host ID Rack UN 10.128.0.7 270.75 GiB 256 48.6% 1a3f6faa-4376-45a8-9c20-11480ae5664c
rack1 UN 10.128.0.14 414.36 KiB 256 51.4% 66a89fbf-08ba-4b5d-9f10-55d52a199b41 rack1

I also ran 'nodetool repair' on new node but result is same. any pointers would be appreciated
:)



conf file of new node

cluster_name: 'cluster1' - seeds: "10.128.0.7"
num_tokens: 256 endpoint_snitch: GossipingPropertyFileSnitch
Thanks,

Junaid








Mime
View raw message