Skip to content

Conversation

@sarvekshayr
Copy link
Contributor

What changes were proposed in this pull request?

Introducing more configuration options in the Container Balancer CLI tool. Options for including and excluding nodes from balancing, "balancing.iteration.interval", "move.timeout", "move.replication.timeout" for managing timeouts and "move.networkTopology.enable" for enabling network topology aware moves.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-10358

How was this patch tested?

Listing all the subcommands under containerbalancer start
Screenshot 2024-02-21 at 9 10 06 AM
Screenshot 2024-02-21 at 9 11 40 AM

Default values of the tuning options
Screenshot 2024-02-21 at 9 12 32 AM

Starting containerbalancer with the newly added tuning options in CLI.
Screenshot 2024-02-21 at 9 13 57 AM
Screenshot 2024-02-21 at 9 15 50 AM

@sarvekshayr sarvekshayr marked this pull request as draft February 21, 2024 03:50
@sarvekshayr sarvekshayr marked this pull request as ready for review February 21, 2024 13:38
Copy link
Contributor

@errose28 errose28 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this @sarvekshayr. Let's also add a test that when CLI options and configurations are present, the CLI options override the defined configurations (assuming that is expected behavior).

Copy link
Contributor

@siddhantsangwan siddhantsangwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this. I've left some comments.

@siddhantsangwan
Copy link
Contributor

@SaketaChalamchala would you like to review?

Copy link
Contributor

@sumitagrawl sumitagrawl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sarvekshayr Thanks for working over this, have few minor comments.

@sarvekshayr sarvekshayr marked this pull request as draft February 28, 2024 10:43
@sarvekshayr sarvekshayr marked this pull request as ready for review March 6, 2024 15:45
Copy link
Contributor

@Tejaskriya Tejaskriya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall the changes look good! Just a few improvements, you can find the comments below

@sarvekshayr sarvekshayr requested a review from errose28 March 7, 2024 03:31
Copy link
Contributor

@tanvipenumudy tanvipenumudy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @sarvekshayr for updating the patch, please find a few minor nits.

sarvekshayr and others added 4 commits March 13, 2024 11:26
…ozone/TestContainerBalancerOperations.java

Co-authored-by: tanvipenumudy <46785609+tanvipenumudy@users.noreply.github.com>
…ozone/TestContainerBalancerOperations.java

Co-authored-by: tanvipenumudy <46785609+tanvipenumudy@users.noreply.github.com>
…ozone/TestContainerBalancerOperations.java

Co-authored-by: tanvipenumudy <46785609+tanvipenumudy@users.noreply.github.com>
Copy link
Contributor

@sumitagrawl sumitagrawl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM +1

Copy link
Contributor

@Tejaskriya Tejaskriya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please find a few comments regarding the checks changed.

Copy link
Contributor

@Tejaskriya Tejaskriya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, +1. Thanks for making the changes

Copy link
Contributor

@siddhantsangwan siddhantsangwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sarvekshayr Thanks for updating. Other than my comment above about error handling, this change looks good now. We can kick off CI once you've updated it.

Copy link
Contributor

@siddhantsangwan siddhantsangwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for green CI.

@siddhantsangwan
Copy link
Contributor

Thanks @sarvekshayr and all the reviewers. Merging to master.

@siddhantsangwan siddhantsangwan merged commit 077fff4 into apache:master Apr 1, 2024
jojochuang pushed a commit to jojochuang/ozone that referenced this pull request May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants