You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Xiaolin Ha (Jira)" <ji...@apache.org> on 2021/04/13 18:37:00 UTC
[jira] [Commented] (HBASE-25763)
TestRSGroupsWithACL.setupBeforeClass is flaky
[ https://issues.apache.org/jira/browse/HBASE-25763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17320453#comment-17320453 ]
Xiaolin Ha commented on HBASE-25763:
------------------------------------
FYI [~zhangduo] . I have reproduced the failure, and attached the error logs.
The problem is in SecureTestUtil#getAuthManagerMTimes, it collects the snapshots of variable `mtime` in the auth manager for all the opened regions . But some regions have not opened yet before the check of changed mtimes. So it will always return false by this logic,
{code:java}
for (Map.Entry<AccessController,Long> e: mtimes.entrySet()) {
if (!oldMTimes.containsKey(e.getKey())) {
LOG.error("Snapshot of AccessController state does not include instance on region " +
e.getKey().getRegion().getRegionInfo().getRegionNameAsString());
// Error out the predicate, we will try again
return false;
}
{code}
A new PR has been created.
> TestRSGroupsWithACL.setupBeforeClass is flaky
> ---------------------------------------------
>
> Key: HBASE-25763
> URL: https://issues.apache.org/jira/browse/HBASE-25763
> Project: HBase
> Issue Type: Improvement
> Reporter: Xiaolin Ha
> Assignee: Xiaolin Ha
> Priority: Major
> Attachments: error-logs
>
>
> [ERROR] Failures: [ERROR] TestRSGroupsWithACL.setupBeforeClass:136->SecureTestUtil.grantGlobal:345->SecureTestUtil.updateACLs:313 Waiting timed out after [10,000] msec
> *[https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3025/8/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-server.txt]*
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)