Nilotpal Nandi created HDDS-6406:
------------------------------------

             Summary: fix warnings in ozone containerbalancer shell commands
                 Key: HDDS-6406
                 URL: https://issues.apache.org/jira/browse/HDDS-6406
             Project: Apache Ozone
          Issue Type: Bug
          Components: Ozone CLI
            Reporter: Nilotpal Nandi
            Assignee: Nilotpal Nandi


ozone  admin containerbalancer start -h
[picocli WARN] Could not format 'Percentage deviation from average utilization 
of the cluster after which a datanode will be rebalanced (for example, '10' for 
10%).' (Underlying error: Conversion = ')'). Using raw String: '%n' format 
strings have not been replaced with newlines. Please ensure to escape '%' 
characters with another '%'.
[picocli WARN] Could not format 'Max percentage of healthy, in service 
datanodes that can be involved in balancing in one iteration (for example, '20' 
for 20%).' (Underlying error: Conversion = ')'). Using raw String: '%n' format 
strings have not been replaced with newlines. Please ensure to escape '%' 
characters with another '%'.
[picocli WARN] Could not format 'Percentage deviation from average utilization 
of the cluster after which a datanode will be rebalanced (for example, '10' for 
10%).' (Underlying error: Conversion = ')'). Using raw String: '%n' format 
strings have not been replaced with newlines. Please ensure to escape '%' 
characters with another '%'.
[picocli WARN] Could not format 'Max percentage of healthy, in service 
datanodes that can be involved in balancing in one iteration (for example, '20' 
for 20%).' (Underlying error: Conversion = ')'). Using raw String: '%n' format 
strings have not been replaced with newlines. Please ensure to escape '%' 
characters with another '%'.
[picocli WARN] Could not format 'Max percentage of healthy, in service 
datanodes that can be involved in balancing in one iteration (for example, '20' 
for 20%).' (Underlying error: Conversion = ')'). Using raw String: '%n' format 
strings have not been replaced with newlines. Please ensure to escape '%' 
characters with another '%'.
[picocli WARN] Could not format 'Percentage deviation from average utilization 
of the cluster after which a datanode will be rebalanced (for example, '10' for 
10%).' (Underlying error: Conversion = ')'). Using raw String: '%n' format 
strings have not been replaced with newlines. Please ensure to escape '%' 
characters with another '%'.
Usage: ozone admin containerbalancer start [-hV]
       [-d=<maxDatanodesPercentageToInvolvePerIteration>]
       [-e=<maxSizeEnteringTargetInGB>] [-i=<iterations>] [-id=<scmServiceId>]
       [-l=<maxSizeLeavingSourceInGB>] [-s=<maxSizeToMovePerIterationInGB>]
       [--scm=<scm>] [-t=<threshold>]
Start ContainerBalancer
  -d, --maxDatanodesPercentageToInvolvePerIteration=<maxDatanodesPercentageToInv
        olvePerIteration>
                    Max percentage of healthy, in service datanodes that can be
                      involved in balancing in one iteration (for example, '20'
                      for 20%).
  -e, --maxSizeEnteringTargetInGB=<maxSizeEnteringTargetInGB>
                    Maximum size that can enter a target datanode while
                      balancing. This is the sum of data from multiple sources
                      (for example, '26' for 26GB).
  -h, --help        Show this help message and exit.
  -i, --iterations=<iterations>
                    Maximum consecutive iterations that balancer will run for.
      -id, --service-id=<scmServiceId>
                    ServiceId of SCM HA Cluster
  -l, --maxSizeLeavingSourceInGB=<maxSizeLeavingSourceInGB>
                    Maximum size that can leave a source datanode while
                      balancing. This is the sum of data moving to multiple
                      targets (for example, '26' for 26GB).
  -s, --maxSizeToMovePerIterationInGB=<maxSizeToMovePerIterationInGB>
                    Maximum size that can be moved per iteration of balancing
                      (for example, '500' for 500GB).
      --scm=<scm>   The destination scm (host:port)
  -t, --threshold=<threshold>
                    Percentage deviation from average utilization of the
                      cluster after which a datanode will be rebalanced (for
                      example, '10' for 10%).
  -V, --version     Print version information and exit.
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to