hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Zhong (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-9822) IntegrationTestLazyCfLoading failed occasionally in a secure enviroment
Date Wed, 23 Oct 2013 01:01:48 GMT

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

Jeffrey Zhong updated HBASE-9822:
---------------------------------

    Attachment: hbase-9822.patch

There is no good way to know if ACL permissions are received by RSs. So I add a sleep in the
test case.

> 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
>         Attachments: hbase-9822.patch
>
>
> 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)

Mime
View raw message