[
https://issues.apache.org/jira/browse/HDDS-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai resolved HDDS-538.
-----------------------------------
Resolution: Information Provided
> ozone scmcli is broken
> ----------------------
>
> Key: HDDS-538
> URL: https://issues.apache.org/jira/browse/HDDS-538
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Namit Maheshwari
> Priority: Major
>
> None of the below commands work for scmcli
> {code:java}
> [root@ctr-e138-1518143905142-481027-01-000002 bin]# ./ozone scmcli list
> Missing required option '--start=<startId>'
> Usage: ozone scmcli list [-hV] [-c=<count>] -s=<startId>
> List containers
> -c, --count=<count> Maximum number of containers to list
> Default: 20
> -h, --help Show this help message and exit.
> -s, --start=<startId> Container id to start the iteration
> -V, --version Print version information and exit.
> [root@ctr-e138-1518143905142-481027-01-000002 bin]# ./ozone scmcli list -c=1
> Missing required option '--start=<startId>'
> Usage: ozone scmcli list [-hV] [-c=<count>] -s=<startId>
> List containers
> -c, --count=<count> Maximum number of containers to list
> Default: 20
> -h, --help Show this help message and exit.
> -s, --start=<startId> Container id to start the iteration
> -V, --version Print version information and exit.
> [root@ctr-e138-1518143905142-481027-01-000002 bin]# ./ozone scmcli list -c=1
> -s
> Missing required parameter for option '--start' (<startId>)
> Usage: ozone scmcli list [-hV] [-c=<count>] -s=<startId>
> List containers
> -c, --count=<count> Maximum number of containers to list
> Default: 20
> -h, --help Show this help message and exit.
> -s, --start=<startId> Container id to start the iteration
> -V, --version Print version information and exit.
> [root@ctr-e138-1518143905142-481027-01-000002 bin]# ./ozone scmcli -s
> Unknown option: -s
> Possible solutions: --scm, --set
> [root@ctr-e138-1518143905142-481027-01-000002 bin]# ./ozone scmcli --start
> Unknown option: --start
> Usage: ozone scmcli [-hV] [--verbose] [--scm=<scm>] [-D=<String=String>]...
> [COMMAND]
> Developer tools to handle SCM specific operations.
> --scm=<scm> The destination scm (host:port)
> --verbose More verbose output. Show the stack trace of the errors.
> -D, --set=<String=String>
> -h, --help Show this help message and exit.
> -V, --version Print version information and exit.
> Commands:
> list List containers
> info Show information about a specific container
> delete Delete container
> create Create container
> close close container
> [root@ctr-e138-1518143905142-481027-01-000002 bin]#
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]