Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 50C0310140 for ; Tue, 7 Jan 2014 05:31:59 +0000 (UTC) Received: (qmail 49444 invoked by uid 500); 7 Jan 2014 05:31:55 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 49411 invoked by uid 500); 7 Jan 2014 05:31:55 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 49360 invoked by uid 99); 7 Jan 2014 05:31:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 05:31:53 +0000 Date: Tue, 7 Jan 2014 05:31:53 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2144) user lacking System.SYSTEM role should receive a more helpful error message 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/ACCUMULO-2144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13863923#comment-13863923 ] Christopher Tubbs commented on ACCUMULO-2144: --------------------------------------------- At the very least, an AccumuloSecurityException should be thrown, with PERMISSION_DENIED, if that's what the problem is. I'd have to check, but it's not clear that that's the reason it's being rejected. TApplicationException is a server-side error. It could be anything. > user lacking System.SYSTEM role should receive a more helpful error message > --------------------------------------------------------------------------- > > Key: ACCUMULO-2144 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2144 > Project: Accumulo > Issue Type: Improvement > Components: shell > Affects Versions: 1.5.0 > Reporter: Arshak Navruzyan > Priority: Trivial > Labels: easyfix, error-feedback > > when the user lacks the System.SYSTEM role and attempts to run listcompactions or listscans the following output appears in the shell > TABLET SERVER | AGE | TYPE | REASON | READ | WROTE | TABLE | TABLET | INPUT | OUTPUT | ITERATORS | ITERATOR OPTIONS > 10.240.165.43:9997 ERROR org.apache.thrift.TApplicationException: Internal error processing getActiveCompactions > 10.240.203.36:9997 ERROR org.apache.thrift.TApplicationException: Internal error processing getActiveCompactions > a more helpful output might be > "username hasn't been granted the System.SYSTEM role required for executing this command" -- This message was sent by Atlassian JIRA (v6.1.5#6160)