Details
Description
From hbase shell, run 'get_auths' with a non-superuser:
hbase(main):002:0> get_auths 'user2' ERROR: Here is some help for this command: Get the visibility labels set for a particular user Syntax : get_auths 'user1' For example: hbase> get_auths 'user1'
We should expect a AccessDeniedException from the server.
From a Java client, AccessDeniedException was dumped out, but the end exception is
java.util.NoSuchElementException at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1124) at java.util.TreeMap$ValueIterator.next(TreeMap.java:1171) at org.apache.hadoop.hbase.security.visibility.VisibilityClient.getAuths(VisibilityClient.java:148)