You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Matteo Bertozzi (Created) (JIRA)" <ji...@apache.org> on 2012/04/20 10:12:41 UTC

[jira] [Created] (HBASE-5841) hbase shell translate_hbase_exceptions() rely on table name as first argument

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

                 Key: HBASE-5841
                 URL: https://issues.apache.org/jira/browse/HBASE-5841
             Project: HBase
          Issue Type: Bug
          Components: shell
    Affects Versions: 0.92.1, 0.94.0, 0.96.0
            Reporter: Matteo Bertozzi


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira