Galsza commented on code in PR #6194: URL: https://github.com/apache/ozone/pull/6194#discussion_r1484209762
########## hadoop-hdds/docs/content/feature/ContainerBalancerOverview.md: ########## @@ -0,0 +1,41 @@ +--- +title: "Container Balancer overview" +weight: 10 +menu: + main: + parent: Features +summary: Container Balancer overview. +--- +<!--- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +## Container Balancer overview + +Container balancer is a service in Storage Container Manager that balances the utilization of datanodes in an Ozone cluster. + +A cluster is considered balanced if for each datanode, the utilization of the datanode (used space to capacity ratio) differs from the utilization of the cluster (used space to capacity ratio of the entire cluster) no more than the threshold. This service balances the cluster by moving containers among over-utilized and under-utilized datanodes. + +```XML +### Note +Container balancer has a command line interface for administrators. You can run the ```shell ozone admin containerbalancer -h``` help command for commands related to Container Balancer. +Container balancer supports only closed Ratis containers. Erasure Coded containers are not supported yet. +``` +## Container balancer CLI commands({{< ref "feature/ContainerBalancer-cli.md" >}}) + +## Configuring container balancer service({{< ref "feature/ContainerBalancer-cfg.md" >}}) Review Comment: Please remove these references as well when the Cloudera specific items no longer exist ########## hadoop-hdds/docs/content/feature/ozone-container-balancer1.png: ########## Review Comment: Please remove this picture as it is Cloudera specific. ########## hadoop-hdds/docs/content/feature/ContainerBalancer-cfg.md: ########## @@ -0,0 +1,41 @@ +--- +title: "Configuring container balancer service" +weight: 12 +menu: + main: + parent: "Container Balancer overview" +summary: To use container balancer using Cloudera Manager, perform the following steps. Review Comment: This file shouldn't be used as it only provides Cloudera specific steps and information ########## hadoop-hdds/docs/content/feature/ContainerBalancerOverview.md: ########## @@ -0,0 +1,41 @@ +--- +title: "Container Balancer overview" +weight: 10 +menu: + main: + parent: Features +summary: Container Balancer overview. +--- +<!--- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +## Container Balancer overview Review Comment: Yes, my original comment about feature overview was referring to this. Based on this the user gets an idea about what the container balancer is and what it does. Thank you for adding it. ########## hadoop-hdds/docs/content/feature/ContainerBalancer-cm.md: ########## @@ -0,0 +1,40 @@ +--- +title: "Activating container balancer using Cloudera Manager" +weight: 13 +menu: + main: + parent: "Container Balancer overview" +summary: You can activate and deactivate container balancer feature using Cloudera Manager. Review Comment: This file is not needed either as it also directly about Cloudera related steps ########## hadoop-hdds/docs/content/feature/ozone-container-balancer2.png: ########## Review Comment: Please remove this picture as it is Cloudera specific -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
