HBASE-20645 Pass stringified table name to exists? method

Signed-off-by: Josh Elser <elserj@apache.org>
This commit is contained in:
Ankit Singhal 2018-05-25 15:01:08 -04:00 committed by Josh Elser
parent b1089e8310
commit 874f1e8e6a
1 changed files with 1 additions and 1 deletions

View File

@ -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 \