Return early if hbck fails

This commit is contained in:
Björn Busse 2019-04-12 23:12:22 +02:00
parent d93f9d65c3
commit 12ad6fa7a8

View File

@ -335,6 +335,7 @@ class hbase_exporter():
if p.returncode != 0:
logging.info("Failed to run hbck (%d)" % (p.returncode))
return False
for line in output:
match = re_inconsistencies.match(line)