Log active master

This commit is contained in:
Björn Busse 2019-04-12 22:57:01 +02:00
parent 962ec23200
commit d93f9d65c3

View File

@ -260,7 +260,10 @@ class hbase_exporter():
return False
prom_hbase_up.set(1)
return r.stdout.decode('utf-8').rstrip()
active_master = r.stdout.decode('utf-8').rstrip()
logging.info("Active master: " + node_address + " (" + node + ")")
return active_master
def get_stale_regions_in_transition(self, hbase_master):