You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Harsh J Chouraria (JIRA)" <ji...@apache.org> on 2011/04/24 20:41:06 UTC
[jira] [Updated] (HBASE-3539) Improve shell help to reflect all
possible options
[ https://issues.apache.org/jira/browse/HBASE-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harsh J Chouraria updated HBASE-3539:
-------------------------------------
Attachment: HBASE-3539.r1.diff
I looked over at all commands in ruby/shell/commands/*.rb and found only 'scan' to lack what you describe. Added in a minor addition to the 'get' output as well.
Docs carry a reference to HBASE-2470's patch.
> Improve shell help to reflect all possible options
> --------------------------------------------------
>
> Key: HBASE-3539
> URL: https://issues.apache.org/jira/browse/HBASE-3539
> Project: HBase
> Issue Type: Bug
> Components: shell
> Affects Versions: 0.90.0
> Reporter: Lars George
> Priority: Trivial
> Fix For: 0.92.0
>
> Attachments: HBASE-3539.r1.diff
>
>
> The shell is not consistent in its help texts. For example:
> {code}
> Scan a table; pass table name and optionally a dictionary of scanner
> specifications. Scanner specifications may include one or more of
> the following: LIMIT, STARTROW, STOPROW, TIMESTAMP, or COLUMNS. If
> no columns are specified, all columns will be scanned.
> {code}
> but in the code you have
> {code}
> filter = args["FILTER"]
> startrow = args["STARTROW"] || ''
> stoprow = args["STOPROW"]
> timestamp = args["TIMESTAMP"]
> columns = args["COLUMNS"] || args["COLUMN"] || get_all_columns
> cache = args["CACHE_BLOCKS"] || true
> versions = args["VERSIONS"] || 1
> {code}
> VERSIONS is missing from the help.
> Check all commands and make sure all options are stated and examples given.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira