hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikanth Srungarapu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12120) HBase shell doesn't allow deleting of a cell by user with W-only permissions to it
Date Wed, 01 Oct 2014 18:16:34 GMT

     [ https://issues.apache.org/jira/browse/HBASE-12120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Srikanth Srungarapu updated HBASE-12120:
----------------------------------------
    Attachment: HBASE-12120.patch

Verified the fix on my local machine.
{code}
hbase(main):010:0> delete "test", "k3", "f1:f4"
0 row(s) in 0.0060 seconds
{code}

> HBase shell doesn't allow deleting of a cell by user with W-only permissions to it
> ----------------------------------------------------------------------------------
>
>                 Key: HBASE-12120
>                 URL: https://issues.apache.org/jira/browse/HBASE-12120
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Dima Spivak
>         Attachments: HBASE-12120.patch
>
>
> 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. 
> [~mbertozzi] 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message