hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7966) ACL tests fail on trunk (flaky)
Date Fri, 01 Mar 2013 07:17:13 GMT

    [ https://issues.apache.org/jira/browse/HBASE-7966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13590308#comment-13590308
] 

Enis Soztutar commented on HBASE-7966:
--------------------------------------

Lars was talking about dependency for tables, and system tables in general. Ideally, what
we need is that if AccessController is installed, every table operation depends on _acl_ table
being available. 
Other than the coprocessor, _acl_ table is not special to the rest of hbase, so not sure how
we can handle that in the least hacky way. 
                
> ACL tests fail on trunk (flaky)
> -------------------------------
>
>                 Key: HBASE-7966
>                 URL: https://issues.apache.org/jira/browse/HBASE-7966
>             Project: HBase
>          Issue Type: New Feature
>          Components: security
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 0.95.0, 0.98.0
>
>
> I've noticed that these tests fail for me quite frequently:
> {code}
>   org.apache.hadoop.hbase.security.access.TestTablePermissions: org.apache.hadoop.hbase.exceptions.TableNotFoundException:
_acl_
>   testQualifierAccess(org.apache.hadoop.hbase.security.access.TestAccessControlFilter):
org.apache.hadoop.hbase.exceptions.TableNotFoundException: _acl_
> {code}
> The root cause seems to be that, the AccessController only creates the table in HMaster.postStartMaster(),
but before _acl_ is created, master start accepting other create table requests, hence race.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message