hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12212) HBaseTestingUtility#waitUntilAllRegionsAssigned should wait for RegionStates
Date Thu, 09 Oct 2014 23:24:34 GMT

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

stack updated HBASE-12212:
    Attachment: 0002-HBASE-12212-HBaseTestingUtility-waitUntilAllRegionsA.patch

Try this.  Not sure how well it will work.

Background is an internal deploy running apache hbase unit tests is turning up some interesting
legit-looking failures....  

> HBaseTestingUtility#waitUntilAllRegionsAssigned should wait for RegionStates
> ----------------------------------------------------------------------------
>                 Key: HBASE-12212
>                 URL: https://issues.apache.org/jira/browse/HBASE-12212
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 1.0.0, 2.0.0, 0.98.6
>            Reporter: Dima Spivak
>         Attachments: 0002-HBASE-12212-HBaseTestingUtility-waitUntilAllRegionsA.patch
> At the moment, #waitUntilAllRegionsAssigned checks to see if each region has a value
for info:server in the meta table, but I've encountered a few instances of tests that fail
because RegionStates#getRegionsOfTable returns an empty list, despite #waitUntilAllRegionsAssigned
being called after the table was created. Let's fix this.

This message was sent by Atlassian JIRA

View raw message