[
https://issues.apache.org/jira/browse/HBASE-6096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291237#comment-13291237
]
Laxman commented on HBASE-6096:
-------------------------------
bq. I don't understand why we need synchronize on _CACHE maps, the only one
that update those maps is ZKPermissionWatcher... and the zookeeper events
should be dispatched in a single thread. Am I missing something?
@Matt, updates & reads from occurs in two multiple threads.
1) access control operations(grant/revoke via ZKPermissionWatcher) updates
USER_CACHE & GROUP_CACHE
2) user operations(Any operation in matrix) reads from USER_CACHE & GROUP_CACHE.
And these data structures [ArrayListMultimap] are not thread-safe.
Hope this clarifies.
> AccessController v2
> -------------------
>
> Key: HBASE-6096
> URL: https://issues.apache.org/jira/browse/HBASE-6096
> Project: HBase
> Issue Type: Umbrella
> Components: security
> Affects Versions: 0.96.0, 0.94.1
> Reporter: Andrew Purtell
> Attachments: Security-ACL Matrix.pdf
>
>
> Umbrella issue for iteration on the initial AccessController drop.
--
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