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

Bharath Vissapragada commented on HBASE-23889:
----------------------------------------------

Also, I suggest looking at {{AlwaysStandByHMaster}} for your tests, if you want 
to simulate a no-active-hmaster situation.. 
{{StartMiniClusterOption.Builder#numAlwaysStandByMasters()}}

> Switch back to ZKConnectionRegistry by default at least in test
> ---------------------------------------------------------------
>
>                 Key: HBASE-23889
>                 URL: https://issues.apache.org/jira/browse/HBASE-23889
>             Project: HBase
>          Issue Type: Bug
>          Components: Client, rpc, test
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>
> For now, MasterRegistry can not deal with master restart, as it can not load 
> the new master address automatically.
> I see there is a invalidateConnection method in HBaseTestingUtilities but it 
> needs a very big refactoring to make all the UTs work like this.
> So here I suggest we switch back to ZKConnectionRegistry by default, and open 
> a new feature branch to finish the TODOs and the refactoring on UTs.
> As now it is already a big problem for me as I want to merge a feature branch 
> back to master but the state of UTs are a mess.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to