You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Laxman (JIRA)" <ji...@apache.org> on 2012/06/08 07:44:23 UTC

[jira] [Updated] (HBASE-6186) Assure thread safety

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

Laxman updated HBASE-6186:
--------------------------

          Component/s: security
    Affects Version/s: 0.94.1
                       0.96.0
                       0.94.0
                 Tags: Huawei
               Labels: security  (was: )
    
> Assure thread safety
> --------------------
>
>                 Key: HBASE-6186
>                 URL: https://issues.apache.org/jira/browse/HBASE-6186
>             Project: HBase
>          Issue Type: Sub-task
>          Components: security
>    Affects Versions: 0.94.0, 0.96.0, 0.94.1
>            Reporter: Andrew Purtell
>            Assignee: Laxman
>              Labels: security
>
> Check data structures for necessary thread safety.
> One known issue is as follows:
> In TableAuthManager, we need to deal with concurrent grants and revokes now that ADMIN permission can be delegated to perhaps multiple users.
> Consider using a ReadWriteLock to protect for update. The current data structure is an array multimap. It is also possible to obtain a synchronized multimap from Guava with Multimaps#synchronizedListMultimap but by far the most common access is read access, and concurrent read access is fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira