You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/02/18 15:12:44 UTC

[jira] [Comment Edited] (HBASE-17657) TestZKAsyncRegistry is flaky

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

Ted Yu edited comment on HBASE-17657 at 2/18/17 3:12 PM:
---------------------------------------------------------

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() / AsyncRegistry#getMetaRegionLocation().

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


was (Author: yuzhihong@gmail.com):
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)