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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.99.0, 0.98.2, 0.96.3, 0.94.20
    • Component/s: security
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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.patch
          2 kB
          Jean-Daniel Cryans
        2. HBASE-11008-0.94.patch
          3 kB
          Jean-Daniel Cryans
        3. HBASE-11008-v2.patch
          3 kB
          Jean-Daniel Cryans
        4. HBASE-11008-v3.patch
          4 kB
          Jean-Daniel Cryans

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: