You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2018/05/28 07:40:58 UTC
[04/34] 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/874f1e8e
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/874f1e8e
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/874f1e8e
Branch: refs/heads/HBASE-19064
Commit: 874f1e8e6acfbf3e3dd6cb0c63c1daba0daabfd1
Parents: b1089e8
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 15:02:47 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/874f1e8e/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 \