hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17657) TestZKAsyncRegistry is flaky
Date Sat, 18 Feb 2017 15:08:44 GMT

    [ https://issues.apache.org/jira/browse/HBASE-17657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15873202#comment-15873202
] 

Ted Yu commented on HBASE-17657:
--------------------------------

bq.  to detect if all the replicas for meta region is ready

TEST_UTIL.waitUntilAllRegionsAssigned(TableName.META_TABLE_NAME) does that.

But this test is about AsyncMetaRegionLocator. I searched code base. This is the only test
which references AsyncMetaRegionLocator#getMetaRegionLocation().

[~Apache9]:
Do you have suggestion how meta region location should be retrieved from AsyncMetaRegionLocator
?

> TestZKAsyncRegistry is flaky 
> -----------------------------
>
>                 Key: HBASE-17657
>                 URL: https://issues.apache.org/jira/browse/HBASE-17657
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 17657.v1.txt
>
>
> TestZKAsyncRegistry showed up in failed tests several times.
> On https://builds.apache.org/job/HBASE-Find-Flaky-Tests/lastSuccessfulBuild/artifact/dashboard.html
, TestZKAsyncRegistry is reported flaky 33% of the time.
> e.g.
> https://builds.apache.org/job/PreCommit-HBASE-Build/5708/testReport/org.apache.hadoop.hbase.client/TestZKAsyncRegistry/test/
> Toward the end of test output:
> {code}
> 2017-02-14 20:23:20,779 WARN  [main-EventThread] client.ZKAsyncRegistry(198): Meta region
for replica 2 is in state PENDING_OPEN
> 2017-02-14 20:23:20,800 INFO  [98410feec74d:45445.activeMasterManager] hbase.MetaTableAccessor(1767):
Updated table hbase:meta state to ENABLED in META
> 2017-02-14 20:23:20,804 DEBUG [PostOpenDeployTasks:534574363] regionserver.HRegionServer(2034):
Finished post open deploy task for hbase:meta,,1_0001.534574363
> 2017-02-14 20:23:20,811 DEBUG [RS_OPEN_META-98410feec74d:50745-0] handler.OpenRegionHandler(126):
Opened hbase:meta,,1_0001.534574363 on 98410feec74d,50745,1487103793930
> {code}
> Looks like some replica of the hbase:meta table might not have finished opening by the
time the test asserted region location not being null.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message