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

hbase shell translate_hbase_exceptions() rely on table name as first argument

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 0.92.1, 0.94.0, 0.95.2
    • None
    • shell

    Description

      shell/commands.rb translate_hbase_exceptions() rely on the fact that the table name is the first argument.

      This is true for many of the commands but for example:

      • grant(user, rights, table_name, family=nil, qualifier=nil
      • revoke(user, table_name, family=nil, qualifier=nil)

      has user as first argument, so if you specify a table that doesn't exists, or where you don't have access you end up with a message like "Unknown table

      {username}

      " and so on...

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: