hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12384) TestTags can hang on fast test hosts
Date Thu, 30 Oct 2014 17:29:34 GMT

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

stack commented on HBASE-12384:
-------------------------------

+1

On commit copy the comment above on to the first use of sleep to explain why the pattern.

> TestTags can hang on fast test hosts
> ------------------------------------
>
>                 Key: HBASE-12384
>                 URL: https://issues.apache.org/jira/browse/HBASE-12384
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 2.0.0, 0.98.8, 0.99.2
>
>         Attachments: HBASE-12384-0.98.patch, HBASE-12384-master.patch
>
>
> Waiting indefinitely expecting flushed files to reach a certain count after triggering
a flush but compaction has happened between the flush and check for number of store files.

> {code}
>         admin.flush(tableName);
>         regions = TEST_UTIL.getHBaseCluster().getRegions(tableName);
>         for (HRegion region : regions) {
>           Store store = region.getStore(fam);
> - Flush and compaction has happened before here --->
>           while (!(store.getStorefilesCount() > 2)) {
> - Hung forever in here ---> 
>             Thread.sleep(10);
>           }
>         }
> {code}



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

Mime
View raw message