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