hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15942) User with 'RWX' permission of the table should be able to describe the table
Date Thu, 02 Jun 2016 20:34:59 GMT

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

Matteo Bertozzi commented on HBASE-15942:

I guess in this case we want to describe the table to list the column families. so we can
provide a smaller version of the descriptor with the families if the user requesting has not
CREATE/ADMIN but has read/write on them. but at that point the descriptor will be "wrong"
because the defaults returned by the getter will not represent the real value. adding another
mapping to know permission of each conf seems too much. do you guys have other suggestion?
introducing a String[] listFamilies(table) which is more or less the same as listTableNames()
seems just an hack but if that is the only case it simplifies things a lot.

> User with 'RWX' permission of the table should be able to describe the table
> ----------------------------------------------------------------------------
>                 Key: HBASE-15942
>                 URL: https://issues.apache.org/jira/browse/HBASE-15942
>             Project: HBase
>          Issue Type: Bug
>          Components: Admin
>            Reporter: Guang Yang
>            Priority: Minor
>         Attachments: HBASE-15942.v0.patch
> Currently only the user who has 'ADMIN' or 'CREATE' permission could describe the table
(via shell), it brings some inconvenience and confusion to those uses who have RWX permission
since they couldn't describe the table to get the schema.

This message was sent by Atlassian JIRA

View raw message