private AsyncClusterConnection getConnection() throws IOException {
    if (connection == null) {
      connection =
        ClusterConnectionFactory.createAsyncClusterConnection(this.conf, null, User.getCurrent());
    }
    return connection;
  }
A tool that is used for manipulating and viewing favored nodes information for regions. Run with
-h to get a list of the options
hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionPlacementMaintainer.java