code: public static void main(String[] args) {
      org.apache.hadoop.hdfs.DnsMonitorSecurityManager.setTheManager();
      try {
        System.exit(runBalancer(args));
      } catch (Throwable e) {
        LOG.error(StringUtils.stringifyException(e));
        System.exit(-1);
      }
  
    }
docs: Run a balancer
  
  @param args