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] [Updated] (HBASE-12384) TestTags can hang on fast test hosts
Date Thu, 30 Oct 2014 16:56:34 GMT

     [ https://issues.apache.org/jira/browse/HBASE-12384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Purtell updated HBASE-12384:
-----------------------------------
    Description: 
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}

  was:
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);
- Compaction has happened before here --->
          while (!(store.getStorefilesCount() > 2)) {
- Hung forever in here ---> 
            Thread.sleep(10);
          }
        }
{code}


> 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
>
> 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