[
https://issues.apache.org/jira/browse/HBASE-12302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14179111#comment-14179111
]
Hudson commented on HBASE-12302:
--------------------------------
FAILURE: Integrated in HBase-0.98 #620 (See
[https://builds.apache.org/job/HBase-0.98/620/])
HBASE-12302 VisibilityClient getAuths does not propagate remote service
exception correctly (Jerry He) (tedyu: rev
9fd346b981c91e67df9bc6332c874d8c369c66df)
*
hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java
*
hbase-client/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityClient.java
> VisibilityClient getAuths does not propagate remote service exception
> correctly
> -------------------------------------------------------------------------------
>
> Key: HBASE-12302
> URL: https://issues.apache.org/jira/browse/HBASE-12302
> Project: HBase
> Issue Type: Bug
> Components: Client, security
> Affects Versions: 2.0.0, 0.98.7
> Reporter: Jerry He
> Assignee: Jerry He
> Priority: Minor
> Fix For: 2.0.0, 0.98.8, 0.99.2
>
> Attachments: HBASE-12302-master-v2.patch, HBASE-12302-master.patch
>
>
> From hbase shell, run 'get_auths' with a non-superuser:
> {code}
> 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'
> {code}
> We should expect a AccessDeniedException from the server.
> From a Java client, AccessDeniedException was dumped out, but the end
> exception is
> {code}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)