hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-14214) list_labels shouldn't raise ArgumentError if no labels are defined
Date Thu, 13 Aug 2015 19:55:46 GMT

     [ https://issues.apache.org/jira/browse/HBASE-14214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nick Dimiduk updated HBASE-14214:
---------------------------------
    Fix Version/s:     (was: 1.1.3)
                   1.1.2

> list_labels shouldn't raise ArgumentError if no labels are defined 
> -------------------------------------------------------------------
>
>                 Key: HBASE-14214
>                 URL: https://issues.apache.org/jira/browse/HBASE-14214
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>            Assignee: Anoop Sam John
>            Priority: Minor
>             Fix For: 2.0.0, 0.98.14, 1.0.2, 1.2.0, 1.1.2, 1.3.0
>
>         Attachments: HBASE-14214.patch
>
>
> list_labels shouldn't raise ArgumentError if no labels are defined. The empty list is
a valid return case, and anyway ArgumentError should be used when arguments to the command
are erroneous. Here the command is well formed:
> {noformat}
> hbase(main):001:0> list_labels
> ERROR: No auth label defined
> Here is some help for this command:
> List the visibility labels defined in the system.
> Optional regular expression parameter could be used to filter the labels being returned.
> Syntax : list_labels
> For example:
>     hbase> list_labels 'secret.*'
>     hbase> list_labels
> {noformat}



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

Mime
View raw message