[ https://issues.apache.org/jira/browse/HBASE-12663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14241443#comment-14241443 ]
Hudson commented on HBASE-12663: -------------------------------- FAILURE: Integrated in HBase-1.0 #569 (See [https://builds.apache.org/job/HBase-1.0/569/]) HBASE-12663 unify getTableDescriptors() and listTableDescriptors (matteo.bertozzi: rev f763b5d2c4c0d8b4d1bfb57865f66f284ca4827f) * hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestNamespaceCommands.java * hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java * hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MasterProtos.java * hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java * hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java * hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/BaseMasterAndRegionObserver.java * hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterCoprocessorHost.java * hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestMasterObserver.java * hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/BaseMasterObserver.java * hbase-protocol/src/main/protobuf/Master.proto * hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/MasterObserver.java > unify getTableDescriptors() and listTableDescriptorsByNamespace() > ----------------------------------------------------------------- > > Key: HBASE-12663 > URL: https://issues.apache.org/jira/browse/HBASE-12663 > Project: HBase > Issue Type: Bug > Components: master, security > Affects Versions: 1.0.0, 2.0.0 > Reporter: Matteo Bertozzi > Assignee: Matteo Bertozzi > Fix For: 1.0.0, 2.0.0 > > Attachments: HBASE-12663-v0.patch > > > currently we have getTableDescriptors()/listTableNames() > and listTableDescriptorsByNamespace()/listTableNamesByNamespace() > which are just filtering by namespace. > The first two are already able to filter tables by regex, > and there is also an ACL check which shows only the table the user have > access to, > while the namespace version just return a list without any ACLs check. > to me there is no point to keep the *ByNamespace() version on the server > side, > since the "base" version must be able to do the filtering by > namespace and the ACLs check must be the same for both anyway. > or at least we can just call the base version with the ns filtering. -- This message was sent by Atlassian JIRA (v6.3.4#6332)