[ 
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

Reply via email to