Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B896C10E89 for ; Wed, 10 Dec 2014 17:49:13 +0000 (UTC) Received: (qmail 91404 invoked by uid 500); 10 Dec 2014 17:49:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 91354 invoked by uid 500); 10 Dec 2014 17:49:13 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 91342 invoked by uid 99); 10 Dec 2014 17:49:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Dec 2014 17:49:13 +0000 Date: Wed, 10 Dec 2014 17:49:13 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12663) unify getTableDescriptors() and listTableDescriptorsByNamespace() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)