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

[jira] [Resolved] (HDDS-6306) fix warnings in ozone containerbalancer shell command help

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

Lokesh Jain resolved HDDS-6306.
-------------------------------
    Fix Version/s: 1.3.0
       Resolution: Fixed

> fix warnings in ozone containerbalancer shell command help
> ----------------------------------------------------------
>
>                 Key: HDDS-6306
>                 URL: https://issues.apache.org/jira/browse/HDDS-6306
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone CLI
>            Reporter: Nilotpal Nandi
>            Assignee: Nilotpal Nandi
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.3.0
>
>
> Need to escape % in help message
> {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>]{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