You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by Mihir Monani <mm...@salesforce.com> on 2017/10/16 13:29:06 UTC

How to Use HAAdmin API

Hi,

I was going thourgh HAAdmin.java to see how can i get list of Active NN
name ( like nn1) or make Failover (-failover nn1 nn2).

As the class's methods are protected or private, It was not possible to use
them as part of simple Java Program which can do action like Failover, Fine
Active NN.

Is there any API i can use for above mentioned purpose?

Thanks,
Mihir Monani