[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (HBASE-20645) Fix security_available method in security.rb

Ankit Singhal created HBASE-20645:

             Summary: Fix security_available method in security.rb 
                 Key: HBASE-20645
             Project: HBase
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Ankit Singhal
            Assignee: Ankit Singhal
         Attachments: HBASE-20645.patch

"exists?" method expects parameter tableName to be String but ACL_TABLE_NAME is of org.apache.hadoop.hbase.TableName form.
raise(ArgumentError, 'DISABLED: Security features are not available') unless \

Impact of the bug:-
So , if a user is running any security related command(revoke,user_permission) and there is an exception(MasterNotRunning) while checking security capabilities, then instead of seeing the underlying exception, user is seeing 
ERROR: no method 'valueOf' for arguments (org.apache.hadoop.hbase.TableName) on Java::OrgApacheHadoopHbase::TableName
  available overloads:

This message was sent by Atlassian JIRA