Node Drop within a zone (Cluster Contraction/Shrinkage)

57 views
Skip to first unread message

Shubham Saxena

unread,
Jun 26, 2019, 1:23:46 AM6/26/19
to project-voldemort
Hi All,

I have explored rebalance-zone-shrinkage.sh utility and figured out that we can drop a zone from a cluster. 
I am looking to find a way to drop a single/multiple nodes within a zone.

Is there any utility available to achieve the same. I see over project-voldemort website this will be supported in future version. 
Just wanted to confirm if this is not published yet??

Cheers,
Shubham

Arunachalam

unread,
Jun 26, 2019, 1:18:12 PM6/26/19
to project-...@googlegroups.com
Voldemort is not maintained anymore so you should move off of it.

Look at the https://github.com/voldemort/voldemort/blob/master/src/java/voldemort/tools/RebalancePlanCLI.java this takes the old cluster xml and new cluster xml and might do it for you. 

Thanks,
Arun.

--
You received this message because you are subscribed to the Google Groups "project-voldemort" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-voldem...@googlegroups.com.
Visit this group at https://groups.google.com/group/project-voldemort.
To view this discussion on the web visit https://groups.google.com/d/msgid/project-voldemort/3027eb10-9012-44a3-b22a-511ac4f009b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shubham Saxena

unread,
Jul 2, 2019, 2:26:48 AM7/2/19
to project-voldemort
Hi Arun,

Thanks for the input, i did go through rebalance CLI but as far as i have tested it can only be used for cluster expansion and not contraction,

I am getting following error when trying to achieve cluster contraction,
Superset cluster does not contain all nodes from subset cluster[ subset cluster node ids ([0, 1, 2, 3, 4, 5]) are not a subset of superset cluster node ids ([0, 1, 2, 3]) ]

While cluster expansion with the same class went smooth, what i understand from this is number of nodes in final-cluster.xml cannot be less than cluster.xml.

Cheers,
Shubham


On Wednesday, June 26, 2019 at 10:48:12 PM UTC+5:30, Arunachalam wrote:
Voldemort is not maintained anymore so you should move off of it.

Look at the https://github.com/voldemort/voldemort/blob/master/src/java/voldemort/tools/RebalancePlanCLI.java this takes the old cluster xml and new cluster xml and might do it for you. 

Thanks,
Arun.

On Tue, Jun 25, 2019 at 10:23 PM Shubham Saxena <shub...@gmail.com> wrote:
Hi All,

I have explored rebalance-zone-shrinkage.sh utility and figured out that we can drop a zone from a cluster. 
I am looking to find a way to drop a single/multiple nodes within a zone.

Is there any utility available to achieve the same. I see over project-voldemort website this will be supported in future version. 
Just wanted to confirm if this is not published yet??

Cheers,
Shubham

--
You received this message because you are subscribed to the Google Groups "project-voldemort" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-...@googlegroups.com.

Arunachalam

unread,
Jul 2, 2019, 1:40:03 PM7/2/19
to project-...@googlegroups.com
We never thought of Cluster shrinkage as we were always expanding. There is zone shrinkage, that we have did in the past.

I believe that is a safety check and commenting out the check, may make it still happen. Other option is if you have new set of hardware to add a new zone and shrink away the old zone.

But as I said, you are in unchartered territory and Voldemort is not maintained anymore and you have the source. It is more than 2 years, since any of us touched that code. 

Thanks,
Arun.

To unsubscribe from this group and stop receiving emails from it, send an email to project-voldem...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages