[ https://issues.apache.org/jira/browse/HBASE-7966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13590248#comment-13590248 ]
Anoop Sam John commented on HBASE-7966: --------------------------------------- [~enis] So this is a code level issue. Issue type of JIRA is marked as New Feature. You really mean it? We have pre/post start master hooks now. But before postStartMaster() hook call, master's 'initialized' flag is set to true. So we need a hook in middle of this. More clearly saying, a hook after the master init operations are over but before marking it as initialized (So that it can take client requests) We had a similar need and we added a new hook I think.. Let me see the code. > 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