Return early if hbck fails
This commit is contained in:
parent
d93f9d65c3
commit
12ad6fa7a8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue