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/25 21:35:15 UTC

[2/2] hbase git commit: HBASE-20645 Pass stringified table name to exists? method

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/4ae1baef
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/4ae1baef
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/4ae1baef

Branch: refs/heads/branch-2
Commit: 4ae1baef1a80324ae1c0378743c14e0cb730cd62
Parents: f40c10a
Author: Ankit Singhal <an...@gmail.com>
Authored: Fri May 25 15:01:08 2018 -0400
Committer: Josh Elser <el...@apache.org>
Committed: Fri May 25 16:38:12 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/4ae1baef/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 \