hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dima Spivak (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12181) Some tests create a table and try to use it before regions get assigned
Date Fri, 10 Oct 2014 06:20:34 GMT

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

Dima Spivak commented on HBASE-12181:

Thanks for this, [~apurtell]; I missed that 0.98 wasn't declaring TableNames from the start.
Much appreciated!

> Some tests create a table and try to use it before regions get assigned
> -----------------------------------------------------------------------
>                 Key: HBASE-12181
>                 URL: https://issues.apache.org/jira/browse/HBASE-12181
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.0.0, 2.0.0,
>            Reporter: Dima Spivak
>            Assignee: Dima Spivak
>             Fix For: 2.0.0, 0.98.8, 0.99.1
>         Attachments: HBASE-12181-0.98.patch, HBASE-12181.patch
> I inadvertently did some unit test stress testing this weekend by running {{mvn test
-P runAllTests}} on a machine that also had other processes going on. The overall sluggishness
led to a number of failed tests that were caused by a table being created using HBaseAdmin#createTable,
which only blocks for meta to get updated and not for the region to actually get assigned
a RegionServer. Quick fix is to use HBaseTestingUtility#createTable whenever possible.

This message was sent by Atlassian JIRA

View raw message