List of usage examples for org.apache.hadoop.hdfs MiniDFSCluster MiniDFSCluster
@Deprecated public MiniDFSCluster(Configuration conf, int numDataNodes, boolean format, String[] racks, String[] hosts) throws IOException
From source file:co.nubetech.hiho.mapreduce.lib.input.TestFileStreamInputFormat.java
License:Apache License
private MiniDFSCluster newDFSCluster(JobConf conf) throws Exception { return new MiniDFSCluster(conf, 4, true, new String[] { "/rack0", "/rack0", "/rack1", "/rack1" }, new String[] { "host0", "host1", "host2", "host3" }); }