You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by el...@apache.org on 2018/05/29 15:49:56 UTC

hbase git commit: HBASE-20645 Pass stringified table name to exists? method

Repository: hbase
Updated Branches:
  refs/heads/branch-2.0 49519015e -> 9dffb8b63


HBASE-20645 Pass stringified table name to exists? method

Signed-off-by: Josh Elser <el...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/9dffb8b6
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9dffb8b6
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9dffb8b6

Branch: refs/heads/branch-2.0
Commit: 9dffb8b63319aec9780bcb15a6c2a49d28e51cad
Parents: 4951901
Author: Ankit Singhal <an...@gmail.com>
Authored: Fri May 25 15:01:08 2018 -0400
Committer: Josh Elser <el...@apache.org>
Committed: Tue May 29 11:36:11 2018 -0400

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/hbase/security.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/9dffb8b6/hbase-shell/src/main/ruby/hbase/security.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/hbase/security.rb b/hbase-shell/src/main/ruby/hbase/security.rb
index 63243fa..f16ee6a 100644
--- a/hbase-shell/src/main/ruby/hbase/security.rb
+++ b/hbase-shell/src/main/ruby/hbase/security.rb
@@ -198,7 +198,7 @@ module Hbase
         # If we are unable to use getSecurityCapabilities, fall back with a check for
         # deployment of the ACL table
         raise(ArgumentError, 'DISABLED: Security features are not available') unless \
-          exists?(org.apache.hadoop.hbase.security.access.AccessControlLists::ACL_TABLE_NAME)
+          exists?(org.apache.hadoop.hbase.security.access.AccessControlLists::ACL_TABLE_NAME.getNameAsString)
         return
       end
       raise(ArgumentError, 'DISABLED: Security features are not available') unless \