[
https://issues.apache.org/jira/browse/HBASE-12384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Purtell updated HBASE-12384:
-----------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Pushed with comment added as requested, one comment on the first sleep after
flush in each unit test. Thanks for the review [~stack]
> 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)