hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-16418) Reduce duration of sleep waiting for region reopen in IntegrationTestBulkLoad#installSlowingCoproc()
Date Mon, 15 Aug 2016 22:18:21 GMT
Ted Yu created HBASE-16418:
------------------------------

             Summary: Reduce duration of sleep waiting for region reopen in IntegrationTestBulkLoad#installSlowingCoproc()
                 Key: HBASE-16418
                 URL: https://issues.apache.org/jira/browse/HBASE-16418
             Project: HBase
          Issue Type: Test
            Reporter: Ted Yu
            Priority: Minor


Currently we have the following code:
{code}
    desc.addCoprocessor(SlowMeCoproScanOperations.class.getName());
    HBaseTestingUtility.modifyTableSync(admin, desc);
    //sleep for sometime. Hope is that the regions are closed/opened before
    //the sleep returns. TODO: do this better
    Thread.sleep(30000);
{code}
Instead of sleeping for fixed duration, we should detect when the regions have reopened with
custom Coprocessor.



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

Mime
View raw message