You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Mihir Monani <mm...@salesforce.com> on 2017/10/17 11:20:56 UTC

Use HAAdmin API

I wanted to write Chaos Action for HBase Chaos Monkey (something like
RestartActiveMaster
<https://github.com/apache/hbase/blob/master/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RestartActiveMasterAction.java>
)  which
can trigger NN Failover.

For that i was going through HAAdmin.java. Is there any way I can use
function like HAAdmin#failover , HAAdmin#getServiceState from HAAdmin
class.

Can someone guide me how do i use them?

Thanks,
Mihir Monani