Configuration conf = new Configuration();
MiniDFSCluster cluster = new MiniDFSCluster(conf, 4, true, null);
String tempDir = conf.get("fs.snapshot.tempdir", "/tmp/snapshot");
SnapshotNode ssNode = new SnapshotNode(conf);
SnapshotStorage ssStore = new SnapshotStorage(conf, Util.stringAsURI(tempDir));
dfs = cluster.getFileSystem();
ssDir = conf.get("fs.snapshot.dir", "/.SNAPSHOT");
Path rename = new Path("/hadoop/rename");