|
@@ -42,7 +42,8 @@ public class TestSymlinkHdfsDisable {
|
|
DistributedFileSystem dfs = cluster.getFileSystem();
|
|
DistributedFileSystem dfs = cluster.getFileSystem();
|
|
FileContext fc = FileContext.getFileContext(cluster.getURI(0), conf);
|
|
FileContext fc = FileContext.getFileContext(cluster.getURI(0), conf);
|
|
// Create test files/links
|
|
// Create test files/links
|
|
- FileContextTestHelper helper = new FileContextTestHelper();
|
|
|
|
|
|
+ FileContextTestHelper helper = new FileContextTestHelper(
|
|
|
|
+ "/tmp/TestSymlinkHdfsDisable");
|
|
Path root = helper.getTestRootPath(fc);
|
|
Path root = helper.getTestRootPath(fc);
|
|
Path target = new Path(root, "target");
|
|
Path target = new Path(root, "target");
|
|
Path link = new Path(root, "link");
|
|
Path link = new Path(root, "link");
|