Nilotpal Nandi created HDDS-6306:
------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]