HBase
  1. HBase
  2. HBASE-5841

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 0.92.1, 0.94.0, 0.95.2
    • Fix Version/s: None
    • Component/s: shell
    • Labels:

      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...

        Issue Links

          Activity

          Hide
          Sean Busbey added a comment -

          Fixed by HBASE-10533

          Show
          Sean Busbey added a comment - Fixed by HBASE-10533

            People

            • Assignee:
              Unassigned
              Reporter:
              Matteo Bertozzi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development