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-12806) [hbck] move admin.create() to HBaseTestingUtility.createTable in TestHBaseFsck
Date Mon, 05 Jan 2015 22:13:35 GMT

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

Dima Spivak commented on HBASE-12806:
-------------------------------------

My favorite race condition! :) Just a thought, [~esteban]: since HBaseTestingUtility doesn't
already have a createTable method that simply takes an HTD, want to add one instead of calling
the (HTD, byte[][]) version with a null for the second argument?

> [hbck] move admin.create() to HBaseTestingUtility.createTable in TestHBaseFsck
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-12806
>                 URL: https://issues.apache.org/jira/browse/HBASE-12806
>             Project: HBase
>          Issue Type: Bug
>          Components: hbck
>    Affects Versions: 1.0.0, 2.0.0
>            Reporter: Esteban Gutierrez
>            Assignee: Esteban Gutierrez
>            Priority: Minor
>         Attachments: 0001-HBASE-12806-hbck-move-admin.create-to-HBaseTestingUt.patch
>
>
> TestHBaseFsck should wait until all regions have been assigned after the table has been
created.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message