[
https://issues.apache.org/jira/browse/HBASE-10238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13856789#comment-13856789
]
Hudson commented on HBASE-10238:
--------------------------------
SUCCESS: Integrated in HBase-TRUNK-on-Hadoop-1.1 #25 (See
[https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-1.1/25/])
Revert HBASE-10238. Revert initial commit and addendum (apurtell: rev 1553442)
*
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java
Amend HBASE-10238. Special case for UndeclaredThrowableException (apurtell: rev
1553438)
*
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController.java
> TestAccessController#verifyDenied can fail even if ADE is thrown
> ----------------------------------------------------------------
>
> Key: HBASE-10238
> URL: https://issues.apache.org/jira/browse/HBASE-10238
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.98.0, 0.99.0
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Attachments: 10238-addendum-1.patch, 10238.patch
>
>
> In TestAccessController#verifyDenied there is code attempting to deal with
> UTEs with AccessDeniedException as a nested cause. Although it would seem the
> code intends to handle the exception reported by a recently failed test on
> the 0.98 Hadoop 1.1 Jenkins build here:
> {noformat}
> java.lang.reflect.UndeclaredThrowableException: Unknown exception in doAs
> Caused by: java.security.PrivilegedActionException:
> com.google.protobuf.ServiceException: Error calling method PingService.noop
> Caused by: com.google.protobuf.ServiceException: Error calling method
> PingService.noop
> Caused by:
> org.apache.hadoop.hbase.security.AccessDeniedExceptionorg.apache.hadoop.hbase.security.AccessDeniedException:
> Insufficient permissions (user=UserB, scope=testCoprocessorExec, family=,
> action=EXEC)
> Caused by: org.apache.hadoop.hbase.ipc.RemoteWithExtrasException:
> org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient
> permissions (user=UserB, scope=testCoprocessorExec, family=, action=EXEC)
> ...
> {noformat}
> it didn't work properly.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)