hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Esteban Gutierrez (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10892) Add support for globs in user_permission
Date Wed, 02 Apr 2014 02:05:15 GMT

    [ https://issues.apache.org/jira/browse/HBASE-10892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13957250#comment-13957250

Esteban Gutierrez commented on HBASE-10892:

I think that the glob only for "all tables" may be confusing,
because then you can't do "tableName*" you must use "tableName.*"
but I'm ok having it as a special "all tables" case.
I can add the missing . to the regex so it can work both ways.

admin.getTableNames() is and was committed as Deprecated. I know that is used in other places,
but we should decide if we want to use that for new code or not and later replace it where
is used.

I can add another implementation without {{admin.getTableNames()}} will that work [~mbertozzi]?

> Add support for globs in user_permission
> ----------------------------------------
>                 Key: HBASE-10892
>                 URL: https://issues.apache.org/jira/browse/HBASE-10892
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 0.99.0
>            Reporter: Esteban Gutierrez
>            Assignee: Esteban Gutierrez
>         Attachments: HBASE-10892.v0.diff
> It would be nice for {{user_permission}} to show all the permissions for all the tables
or a subset of tables if a glob (regex) is provided.
> {code}
> hbase> user_permission '*'
> User                                       Table,Family,Qualifier:Permission
>  esteban                                   x,,: [Permission: actions=READ,WRITE,EXEC,CREATE,ADMIN]
>  hbase1                                    y,,: [Permission: actions=READ,WRITE]
>  hbase2                                    z,,: [Permission: actions=READ,WRITE]
> {code}

This message was sent by Atlassian JIRA

View raw message