Jeffrey Zhong created HBASE-9822:
------------------------------------

             Summary: IntegrationTestLazyCfLoading failed occasionally in a 
secure enviroment
                 Key: HBASE-9822
                 URL: https://issues.apache.org/jira/browse/HBASE-9822
             Project: HBase
          Issue Type: Bug
          Components: test
    Affects Versions: 0.96.0
            Reporter: Jeffrey Zhong
            Assignee: Jeffrey Zhong
            Priority: Trivial


This test case failed in a secure deployment once with the following error. 
It's due to a race condition between writers starts writes and table ACLs 
propagation to region servers.  

{code}
2013-10-14 13:03:32,185 ERROR [HBaseWriterThread_8] 
util.MultiThreadedWriterBase: Failed to insert: 10 after 167ms; region 
information: cached: 
region=IntegrationTestLazyCfLoading,bffffffd,1381755808862.456a11d22693f7dc27763c32e55521a8.,
 
hostname=gs-hdp2-secure-1381732260-hbase-8.cs1cloud.internal,60020,1381755752694,
 seqNum=1; cache is up to date; errors: exception from 
gs-hdp2-secure-1381732260-hbase-8.cs1cloud.internal:60020 for 
d3d9446802a44259755d38e6d163e820-10
E       org.apache.hadoop.hbase.security.AccessDeniedException: 
org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient 
permissions (table=IntegrationTestLazyCfLoading, family: essential:filter, 
action=WRITE)
....
{code}

Writes were sent at 13:03:32,032
{code}
2013-10-14 13:03:32,032 WARN  [htable-pool11-t1] client.AsyncProcess: Attempt 
#1/35 failed for 1 ops on 
gs-hdp2-secure-1381732260-hbase-8.cs1cloud.internal,60020,1381755752694 NOT 
resubmitting.
{code}

While the permission propagation happened at 13:03:32,109 on region server
{code}
2013-10-14 13:03:32,109 DEBUG [regionserver60020-EventThread] 
access.ZKPermissionWatcher: Updating permissions cache from node 
IntegrationTestLazyCfLoading with data: 
PBUF\x0AA\x0A\x06hrt_qa\x127\x08\x03"3\x0A'\x0A\x07default\x12\x1CIntegrationTestLazyCfLoading
 \x00 \x01 \x02 \x03 \x04
{code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to