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

ozone s3 shell command has confusing subcommands

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.1
    • None
    • Done

    Description

      Let's check the potential subcommands of ozone sh:

      [hadoop@om-0 keytabs]$ ozone sh
      Incomplete command
      Usage: ozone sh [-hV] [--verbose] [-D=<String=String>]... [COMMAND]
      Shell for Ozone object store
            --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:
        volume, vol  Volume specific operations
        bucket       Bucket specific operations
        key          Key specific operations
        token        Token specific operations
      

      This is fine, but for ozone s3:

      [hadoop@om-0 keytabs]$ ozone s3
      Incomplete command
      Usage: ozone s3 [-hV] [--verbose] [-D=<String=String>]... [COMMAND]
      Shell for S3 specific operations
            --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:
        getsecret    Returns s3 secret for current user
        path         Returns the ozone path for S3Bucket
        volume, vol  Volume specific operations
        bucket       Bucket specific operations
        key          Key specific operations
        token        Token specific operations
      

      This list should contain only the getsecret/path commands and not the volume/bucket/key subcommands.

      Attachments

        Issue Links

          Activity

            People

              elek Marton Elek
              elek Marton Elek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m