HBASE-20645 Pass stringified table name to exists? method
Signed-off-by: Josh Elser <elserj@apache.org>
This commit is contained in:
parent
b1089e8310
commit
874f1e8e6a
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue