*/
public class WriteReadPerformanceTest {
public static void main(String[] args) throws Exception {
HdfsDirectory hdfsDirectory = new HdfsDirectory(new Configuration(), new Path("hdfs://localhost/index"));
Directory directory = new BlockCacheDirectoryFactoryV2(new Configuration(), 1000000).newDirectory(
"index", "shard1", hdfsDirectory, null
);
String[] names = new String[]{"a", "b", "c", "d", "e", "f", "g", "h", "i", "j",
"k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"};