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] [Resolved] (HBASE-6186) Assure thread safety
Date Tue, 29 Apr 2014 21:19:15 GMT

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

Andrew Purtell resolved HBASE-6186.
-----------------------------------

    Resolution: Invalid

> 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.94.1, 0.95.2
>            Reporter: Andrew Purtell
>              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 was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message