Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-1680

Atomic add and remove of authorizations

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. ACCUMULO-1680.patch
          12 kB
          Eric Robertson

        Issue Links

          Activity

            People

              rwgdrummer Eric Robertson
              cehardin Chad Hardin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m