hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-11363) Access checks in preCompact and preCompactSelection are out of sync
Date Fri, 20 Jun 2014 00:32:25 GMT

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

Andrew Purtell updated HBASE-11363:
-----------------------------------

    Attachment: HBASE-11363.patch

Attached patch. AC tests pass locally.

> Access checks in preCompact and preCompactSelection are out of sync
> -------------------------------------------------------------------
>
>                 Key: HBASE-11363
>                 URL: https://issues.apache.org/jira/browse/HBASE-11363
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.98.3
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 0.99.0, 0.98.4
>
>         Attachments: HBASE-11363.patch
>
>
> As discussed on HBASE-6192, it looks like someone cut and pasted the access check from
preCompact into preCompactSelection at one time and, later, another change was made that relaxed
permissions for compaction requests from ADMIN to ADMIN|CREATE.
> We do not need an access check in preCompactSelection since a request to compact is already
mediated by preCompact.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message