Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3588

Shell commands have duplicative table options

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • shell

    Description

      usage: deletetable [<table>{ <table>}] [-?] [-f] [-ns <namespace> | -p <pattern> | -t <tableName>]
      description: deletes a table
        -?,--help                       display this help
        -f,--force                      force deletion without prompting
        -ns,--namespace <namespace>     name of a namespace to operate on
        -p,--pattern <pattern>          regex pattern of table names to operate on
        -t,--table <tableName>          name of a table to operate on
      

      We don't need the -t option, the command already accepts one to many table names as unnamed options. Looks like this is automatically inherited from ./core/src/main/java/org/apache/accumulo/core/util/shell/commands/TableOperation.java

      Attachments

        Activity

          People

            Unassigned Unassigned
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: