Hi all,
I would like to know the best practice when exporting a snapshot to remote 
hbase cluster with ha configuration.
My assumption is:
1. to know which of the HDFS namenode is active
2. export snapshot to active namenode

Since I need to do this programmatically what is the best way to know which 
namenode is active? 
Afaik, it should be done through zookeeper, but through which API it will be 
more convenient?

Thanks.

Reply via email to