Addendum : HADOOP-12984. Add GenericTestUtils.getTestDir method and use it for emporary directory in tests (Contributed by Steve Loughran and Vinayakumar B)

This commit is contained in:
Vinayakumar B 2016-04-07 14:33:48 +08:00
parent c2b271fe05
commit aea518ef30
1 changed files with 2 additions and 2 deletions

View File

@ -566,8 +566,8 @@ public class TestFileUtil {
final boolean result;
try {
Path srcPath = new Path(TEST_ROOT_DIR, src);
Path dstPath = new Path(TEST_ROOT_DIR, dst);
Path srcPath = new Path(TEST_DIR.getAbsolutePath(), src);
Path dstPath = new Path(TEST_DIR.getAbsolutePath(), dst);
boolean deleteSource = false;
String addString = null;
result = FileUtil.copyMerge(fs, srcPath, fs, dstPath, deleteSource, conf,