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

Incorrect handling of default namespace in user_permission command.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None

    Description

      The command user_permission returns 0 rows if we specify default prefix. It works fine if we drop the prefix. This is because pattern matching of listTables doesn't take into account that nameAsString method doesn't include 'default' in it's output for the relevant tables. This method listTables is also used by delete, disable and enable commands when invoked with regular expression. Credits to mbertozzi for coming up with this corner case.

      Attachments

        1. HBASE-12474_v2.patch
          6 kB
          Srikanth Srungarapu
        2. HBASE-12474.patch
          2 kB
          Srikanth Srungarapu
        3. HBASE-12474-v3.patch
          6 kB
          Matteo Bertozzi

        Issue Links

          Activity

            People

              srikanth235 Srikanth Srungarapu
              srikanth235 Srikanth Srungarapu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: