You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Mingliang Liu (JIRA)" <ji...@apache.org> on 2018/08/24 20:28:00 UTC

[jira] [Updated] (HBASE-21100) HBTU.waitUntilAllRegionsAssigned will count split/merged region and cause wait timeout

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

Mingliang Liu updated HBASE-21100:
----------------------------------
    Attachment: HBASE-21100.wip.patch

> HBTU.waitUntilAllRegionsAssigned will count split/merged region and cause wait timeout
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-21100
>                 URL: https://issues.apache.org/jira/browse/HBASE-21100
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Duo Zhang
>            Priority: Major
>         Attachments: HBASE-21100.wip.patch
>
>
> In TestTruncateTableProcedure, we will call split and then wait until all regions are assigned. The code itself is a bit strange and should be reimplement with other another way, but it expose the problem in our HBTU.waitUntilAllRegionsAssigned method, that we will also count split region, and find that it is not OPEN and return false, which causes a wait timeout.
> This is the log.
> https://builds.apache.org/job/HBase-Flaky-Tests/job/master/143/artifact/hbase-server/target/surefire-reports/org.apache.hadoop.hbase.master.procedure.TestTruncateTableProcedure-output.txt
> Will open another issue to rewrite the test first, but I still think we need to open a issue to record this problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)