hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-423) Test cases need a mechanism to tell HConnectionManager to shutdown
Date Tue, 08 Jul 2008 04:04:31 GMT

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

stack commented on HBASE-423:

Looking in svn, I see that a deleteConnectionInfo that takes no argument and that deletes
all from the cache is what is new.   But I'd guess that the one that is in HBaseClusterTestCase
where it passes a Configuration should work fine too.

J-D, w/ your patch above, when getConnection returns null, what happens?  There is no retry?

Should we just add an open table and close table altogether?

> Test cases need a mechanism to tell HConnectionManager to shutdown
> ------------------------------------------------------------------
>                 Key: HBASE-423
>                 URL: https://issues.apache.org/jira/browse/HBASE-423
>             Project: Hadoop HBase
>          Issue Type: Test
>          Components: client
>            Reporter: Jim Kellerman
>            Assignee: Jean-Daniel Cryans
> One of the reason many test cases take so long is that HConnectionManager continues trying
to refind tables, meta and root region even when the test is done but has not completely shut
down yet.
> The test case should be able to call the connection manager and tell it to shutdown,
> - release all references (clear out all its maps)
> - do not accept any new requests
> - if any requests are in progress, abort them.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message