Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-12663

unify getTableDescriptors() and listTableDescriptorsByNamespace()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 2.0.0
    • 1.0.0, 0.98.19
    • master, security
    • None

    Description

      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.

      Attachments

        1. HBASE-12663-v0.patch
          51 kB
          Matteo Bertozzi

        Issue Links

          Activity

            People

              mbertozzi Matteo Bertozzi
              mbertozzi Matteo Bertozzi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: