accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3588) deletetable shell command has duplicative table options
Date Fri, 13 Feb 2015 17:14:11 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14320393#comment-14320393
] 

Josh Elser commented on ACCUMULO-3588:
--------------------------------------

{{DuCommand}} also has the same thing:

{noformat}
usage: du <table>{ <table>} [-?] [-h] [-ns <namespace>] [-p <pattern>]
[-t <table>]
description: prints how much space, in bytes, is used by files referenced by a table.  When
multiple tables are specified it prints how much space, in bytes, is used by files shared
between tables, if any.
  -?,--help                       display this help
  -h,--human-readable             format large sizes to human readable units
  -ns,--namespace <namespace>     name of a namespace
  -p,--pattern <pattern>          regex pattern of table names
  -t,--table <table>              table to examine
{noformat}

> deletetable shell command has duplicative table options
> -------------------------------------------------------
>
>                 Key: ACCUMULO-3588
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3588
>             Project: Accumulo
>          Issue Type: Bug
>          Components: shell
>            Reporter: Josh Elser
>             Fix For: 1.7.0, 1.6.3
>
>
> {noformat}
> 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
> {noformat}
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message