Fix TestOfflineEditsViewer after merging.

This commit is contained in:
Jing Zhao 2014-09-05 12:05:22 -07:00
parent 300cb12bef
commit 54767d3ff4
3 changed files with 1035 additions and 0 deletions

View File

@ -1079,6 +1079,8 @@ public static void runOperations(MiniDFSCluster cluster,
FSDataOutputStream s = filesystem.create(pathFileCreate);
// OP_CLOSE 9
s.close();
// OP_SET_STORAGE_POLICY 45
filesystem.setStoragePolicy(pathFileCreate, "HOT");
// OP_RENAME_OLD 1
final Path pathFileMoved = new Path("/file_moved");
filesystem.rename(pathFileCreate, pathFileMoved);