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 F372E102CA for ; Tue, 3 Sep 2013 21:47:51 +0000 (UTC) Received: (qmail 78451 invoked by uid 500); 3 Sep 2013 21:47:51 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 78427 invoked by uid 500); 3 Sep 2013 21:47:51 -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 78418 invoked by uid 99); 3 Sep 2013 21:47:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 21:47:51 +0000 Date: Tue, 3 Sep 2013 21:47:51 +0000 (UTC) From: "John Vines (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1680) Atomic add and remove of authorizations 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-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757121#comment-13757121 ] John Vines commented on ACCUMULO-1680: -------------------------------------- In lieu of new shell commands, another option could be to support +auth and -auth for add/remove. > Atomic add and remove of authorizations > --------------------------------------- > > Key: ACCUMULO-1680 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1680 > Project: Accumulo > Issue Type: New Feature > Components: client, master, shell > Reporter: Chad Hardin > Assignee: Chad Hardin > Priority: Minor > Labels: newbie, patch > Fix For: 1.6.0 > > > Currently, adding and removing an auth presents a race condition because of the two separate calls required to get, modify, then set the authorizations for a user. > Instead, it should be possible to add or remove one or more auths without there being a race condition. > I also propose adding two new commands to the shell to expose this functionality. > It appears to be that this is not a difficult feature to add, by making use of ZooReaderWriter.mutate() in the FATE packages. I think the bulk of the work will be in changing the various interfaces (shell and programmatically) to expose this functionality. > I would like to do this work and I'm a accumulo newbie, so any guidance would be appreciated. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira