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

Gregory Chanan updated HBASE-6606:
----------------------------------

    Status: Patch Available  (was: Open)
    
> Test for reconnecting with HBaseAdmin using unmanaged HConnection
> -----------------------------------------------------------------
>
>                 Key: HBASE-6606
>                 URL: https://issues.apache.org/jira/browse/HBASE-6606
>             Project: HBase
>          Issue Type: Task
>          Components: client, test
>            Reporter: Gregory Chanan
>            Assignee: Gregory Chanan
>            Priority: Minor
>             Fix For: 0.96.0
>
>         Attachments: HBASE-6606.patch
>
>
> HBASE-5058 allowed HBaseAdmin to work with an existing and unmanaged 
> HConnection.  The retry semantics of managed vs unmanaged connections are 
> different.  From the JIRA:
> "For an HConnection that is passed from the outside, it has to be possible to 
> try again. So if the HConnection is managed we retain the old behavior (i.e. 
> only try once, give up after that, even if that failed).
> For an unmanaged connection we try again unless we actually found a master. ."
> I couldn't find any test of this behavior, only that the HBaseAdmin works 
> with an unmanaged connection, i.e. no retry testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to