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

stack updated HBASE-7966:
-------------------------

    Attachment: 7966v3.txt

Fix waitTableEnabled.  Make it do what folks seem to be expecting it to do (it 
is used in a few places).  Previous it would return if the zk state was set to 
enabled but the regions were not yet assigned.  Make it so now table is enabled 
AND regions are assigned.  Add javadoc.  In TestAccessControlFilter also close 
a used table and in HCM, change variable name so it is clearer what 
enable/disable internals are doing.
                
> ACL tests fail on trunk (flaky)
> -------------------------------
>
>                 Key: HBASE-7966
>                 URL: https://issues.apache.org/jira/browse/HBASE-7966
>             Project: HBase
>          Issue Type: Bug
>          Components: security
>            Reporter: Enis Soztutar
>            Assignee: Ted Yu
>             Fix For: 0.95.0, 0.98.0
>
>         Attachments: 7966-v1.txt, 7966v3.txt, debug.logging.txt
>
>
> 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

Reply via email to