Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE0C410F38 for ; Thu, 26 Dec 2013 03:52:23 +0000 (UTC) Received: (qmail 20600 invoked by uid 500); 26 Dec 2013 03:51:59 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 20538 invoked by uid 500); 26 Dec 2013 03:51:53 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 20518 invoked by uid 99); 26 Dec 2013 03:51:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Dec 2013 03:51:51 +0000 Date: Thu, 26 Dec 2013 03:51:51 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (HBASE-10238) TestAccessController#verifyDenied can fail even if ADE is thrown MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-10238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell reopened HBASE-10238: ------------------------------------ I can see this is failing again on the Jenkins 0.98 on 1.1 build. I can't reproduce it locally and am not able to get the exact incantation for the twisty exception construction. Reverting but leaving open for later. > 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 > Fix For: 0.98.0, 0.99.0 > > 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)