You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Namit Maheshwari (JIRA)" <ji...@apache.org> on 2018/09/22 00:57:00 UTC

[jira] [Created] (HDDS-538) ozone scmcli is broken

Namit Maheshwari created HDDS-538:
-------------------------------------

             Summary: ozone scmcli is broken
                 Key: HDDS-538
                 URL: https://issues.apache.org/jira/browse/HDDS-538
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
            Reporter: Namit Maheshwari


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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org