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:
parent
c2b271fe05
commit
aea518ef30
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue