[
https://issues.apache.org/jira/browse/ACCUMULO-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14518475#comment-14518475
]
eric commented on ACCUMULO-1680:
--------------------------------
At this point, with the addition of the addauths command in the code base, it
makes sense to add a reciprocal deleteauths command.
Not sure I see the value in an atomic operation at this point. That would
involve adding a new method to the security operations and a command that
subsumes addauths (something like alterauths).
> 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
> Priority: Minor
> Labels: newbie, summit2015
> Fix For: 1.8.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 was sent by Atlassian JIRA
(v6.3.4#6332)