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 class DFSTestUtil {
FSDataOutputStream s = filesystem.create(pathFileCreate); FSDataOutputStream s = filesystem.create(pathFileCreate);
// OP_CLOSE 9 // OP_CLOSE 9
s.close(); s.close();
// OP_SET_STORAGE_POLICY 45
filesystem.setStoragePolicy(pathFileCreate, "HOT");
// OP_RENAME_OLD 1 // OP_RENAME_OLD 1
final Path pathFileMoved = new Path("/file_moved"); final Path pathFileMoved = new Path("/file_moved");
filesystem.rename(pathFileCreate, pathFileMoved); filesystem.rename(pathFileCreate, pathFileMoved);