hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12229) NullPointerException in SnapshotTestingUtils
Date Tue, 14 Oct 2014 02:40:33 GMT

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

Andrew Purtell commented on HBASE-12229:
----------------------------------------

bq. Is it worth separately addressing why the [synchronous] HBaseAdmin#createTable method
returns before a table is actually ready to accept puts? 

We could. I'd suggest checking if the new Admin interface has the semantics you want as an
option and if not file an issue for that. 

> NullPointerException in SnapshotTestingUtils
> --------------------------------------------
>
>                 Key: HBASE-12229
>                 URL: https://issues.apache.org/jira/browse/HBASE-12229
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.0.0, 2.0.0, 0.98.7
>            Reporter: Dima Spivak
>            Assignee: Dima Spivak
>            Priority: Minor
>         Attachments: HBASE-12229.patch, HBASE-12229_v1.patch
>
>
> I tracked down occasional flakiness in TestRestoreSnapshotFromClient to a potential NPE
in SnapshotTestingUtils#waitForTableToBeOnline. In short, some tests in TestRestoreSnapshot...
create a table and then invoke SnapshotTestingUtils#waitForTableToBeOnline, but this method
assumes that regions have been assigned by the time it's invoked (which is not always the
case).



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

Mime
View raw message