public MiniDFSCluster startMiniDFSCluster(final String hosts[]) throws Exception {
    if (hosts != null && hosts.length != 0) {
      return startMiniDFSCluster(hosts.length, hosts);
    } else {
      return startMiniDFSCluster(1, null);
    }
  }
Start a minidfscluster. This is useful if you want to run datanode on distinct hosts for things
like HDFS block location verification. If you start MiniDFSCluster without host names, all
instances of the datanodes will have the same host name.
@param hosts hostnames DNs to run on.
@see #shutdownMiniDFSCluster()
@return The mini dfs cluster created.
hbase-testing-util/src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java