Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11008

Align bulk load, flush, and compact to require Action.CREATE

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.99.0, 0.98.2, 0.96.3, 0.94.20
    • security
    • None
    • Reviewed
    • Hide
      preBulkLoadHFile now requires CREATE, which it effectively already needed since getTableDescriptor also requires it which is what LoadIncrementalHFiles is doing before bulk loading.
      compact and flush can now be issued by users with CREATE permission.
      Show
      preBulkLoadHFile now requires CREATE, which it effectively already needed since getTableDescriptor also requires it which is what LoadIncrementalHFiles is doing before bulk loading. compact and flush can now be issued by users with CREATE permission.

    Description

      Over in HBASE-10958 we noticed that it might make sense to require Action.CREATE for bulk load, flush, and compact since it is also required for things like enable and disable.

      This means the following changes:

      • preBulkLoadHFile goes from WRITE to CREATE
      • compact/flush go from ADMIN to ADMIN or CREATE

      Attachments

        1. HBASE-11008-0.94.patch
          3 kB
          Jean-Daniel Cryans
        2. HBASE-11008-v3.patch
          4 kB
          Jean-Daniel Cryans
        3. HBASE-11008-v2.patch
          3 kB
          Jean-Daniel Cryans
        4. HBASE-11008.patch
          2 kB
          Jean-Daniel Cryans

        Issue Links

          Activity

            People

              jdcryans Jean-Daniel Cryans
              jdcryans Jean-Daniel Cryans
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: