You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2013/09/05 23:33:52 UTC

[jira] [Reopened] (HBASE-9182) Allow non-admin users to list all table names

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

Lars Hofhansl reopened HBASE-9182:
----------------------------------


I just noticed that this break backward compatibility in 0.94.
Here's what I see in a new (0.94.12) client connecting to an old (0.94.7) cluster:
{code}
ERROR: org.apache.hadoop.ipc.RemoteException: java.io.IOException: java.lang.NoSuchMethodException: org.apache.hadoop.hbase.ipc.HMasterInterface.getTableNames()
	at java.lang.Class.getMethod(Class.java:1624)
	at org.apache.hadoop.hbase.ipc.SecureRpcEngine$Server.call(SecureRpcEngine.java:293)
	at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1426)
{code}

I'd suggest we roll this back from 0.94, and open a new jira for a backward compatible backport. You OK with that [~apurtell]?
                
> Allow non-admin users to list all table names
> ---------------------------------------------
>
>                 Key: HBASE-9182
>                 URL: https://issues.apache.org/jira/browse/HBASE-9182
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.95.2, 0.94.9
>            Reporter: Francis Liu
>            Assignee: Andrew Purtell
>             Fix For: 0.98.0, 0.95.2, 0.94.12
>
>         Attachments: 9182-0.94.patch, 9182-0.94.patch, 9182.addendum.1-0.94.patch, 9182.addendum.1.patch, 9182.patch, 9182.patch, 9182.patch, 9182.patch
>
>
> HBASE-8692, prevents users retrieving table descriptors they don't have admin access to. As a side-effect it also prevents non-admin users from being able to list tables in the CLI. One proposal to fix this is to provide an API in HMaster which returns a list of table names only. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira