Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-11446

Issue with ozone key list redundant options

    XMLWordPrintableJSON

Details

    Description

      The ozone key list CLI options printing --all and --length options twice.

      ssulav@ssulav-MBP16 ozone % de ozone-datanode-1
      bash-4.4$
      bash-4.4$ ozone sh key list -h
      Usage: ozone sh key list [-hV] [-p=<prefix>] [-s=<startItem>] [[-l=<limit>] |
                               [-a]] <value>
      list all keys in a given volume or bucket or snapshot
            <value>               URI of the volume or bucket.
                                  Ozone URI could either be a full URI or short URI.
                                  Full URI should start with o3://, in case of non-HA
                                  clusters it should be followed by the host name and
                                  optionally the port number. In case of HA clusters
                                  the service id should be used. Service id provides a
                                  logical name for multiple hosts and it is defined
                                  in the property ozone.om.service.ids.
                                  Example of a full URI with host name and port number
                                  for a key:
                                  o3://omhostname:9862/vol1/bucket1/key1
                                  With a service id for a volume:
                                  o3://omserviceid/vol1/
                                  Short URI should start from the volume.
                                  Example of a short URI for a bucket:
                                  vol1/bucket1
                                  Any unspecified information will be identified from
                                  the config files.
      
        -a, --all                 List all results
        -a, --all                 List all results
        -h, --help                Show this help message and exit.
        -l, --length=<limit>      Maximum number of items to list
                                    Default: 100
        -l, --length=<limit>      Maximum number of items to list
                                    Default: 100
        -p, --prefix=<prefix>     Prefix to filter the items
        -s, --start=<startItem>   The item to start the listing from.
                                  This will be excluded from the result.
        -V, --version             Print version information and exit.
      

      Attachments

        Issue Links

          Activity

            People

              renkoike Ren Koike
              ssulav Soumitra Sulav
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: