Support HA mode for hdfs check

Fix #1018