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

HBase shell doesn't allow deleting of a cell by user with W-only permissions to it

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.7, 0.99.1
    • Component/s: shell
    • Labels:
      None

      Description

      If cell-level ACLs are used to give a user "W" permissions to a cell, they should be able to delete that cell. In testing the Java API, I've confirmed that this is respected. Using the HBase shell, however, a user trying to delete a cell to which they don't have read permissions results in a "Row Not Found" error.

      Matteo Bertozzi tracked this down to a change introduced by HBASE-5837 wherein an attempt is made to get the cell before deleting it to confirm that it exists.

        Attachments

        1. HBASE-12120.patch
          0.8 kB
          Srikanth Srungarapu

          Activity

            People

            • Assignee:
              srikanth235 Srikanth Srungarapu
              Reporter:
              dimaspivak Dima Spivak
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: