From d93f9d65c3401012c4334ab13b1d8a41bd646712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Busse?= Date: Fri, 12 Apr 2019 22:57:01 +0200 Subject: [PATCH] Log active master --- hbase-exporter | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hbase-exporter b/hbase-exporter index d2f1056..3b5144d 100755 --- a/hbase-exporter +++ b/hbase-exporter @@ -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):