hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mihir Monani <mmon...@salesforce.com>
Subject Use HAAdmin API
Date Tue, 17 Oct 2017 11:28:44 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message