You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Nilotpal Nandi (Jira)" <ji...@apache.org> on 2022/03/04 05:41:00 UTC

[jira] [Resolved] (HDDS-6406) fix warnings in ozone containerbalancer shell commands

     [ https://issues.apache.org/jira/browse/HDDS-6406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nilotpal Nandi resolved HDDS-6406.
----------------------------------
    Resolution: Duplicate

> 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
>            Priority: Trivial
>
> {noformat}
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org