Skip to content

HDDS-14883. ContainerBalancerStatus shows 0GB due to incorrect field mapping#9968

Open
Russole wants to merge 2 commits intoapache:masterfrom
Russole:HDDS-14883
Open

HDDS-14883. ContainerBalancerStatus shows 0GB due to incorrect field mapping#9968
Russole wants to merge 2 commits intoapache:masterfrom
Russole:HDDS-14883

Conversation

@Russole
Copy link
Contributor

@Russole Russole commented Mar 24, 2026

What changes were proposed in this pull request?

Fix incorrect value for "Max Size to Move per Iteration" in ContainerBalancer status

  • Fix wrong field reference in ContainerBalancerStatusSubcommand
  • Use getSizeMovedMaxPerIteration() instead of getDatanodesInvolvedMaxPercentagePerIteration()
  • Previously returned 0GB due to wrong field mapping
  • Update related tests to reflect the corrected value

What is the link to the Apache JIRA

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

How was this patch tested?

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.

1 participant