private static boolean addressIsLocalHost(String address) {
    return address.equals("localhost") || address.equals("127.0.0.1");
  }
Start and schedule the purge task autopurge.purgeInterval is 0 by default,so in fact the
DatadirCleanupManager task will not be started to clean the logs by default. Config is
recommended only for standalone server.
hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/HQuorumPeer.java