From 8a489ce78e05cffc2de8923dc5ac7361a72250a8 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Wed, 26 May 2021 15:47:56 +0900 Subject: [PATCH] MAPREDUCE-7348. TestFrameworkUploader#testNativeIO fails. (#3053) Reviewed-by: Hui Fei --- .../apache/hadoop/mapred/uploader/TestFrameworkUploader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-uploader/src/test/java/org/apache/hadoop/mapred/uploader/TestFrameworkUploader.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-uploader/src/test/java/org/apache/hadoop/mapred/uploader/TestFrameworkUploader.java index 40ef8f6c38..ed4d9ce68c 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-uploader/src/test/java/org/apache/hadoop/mapred/uploader/TestFrameworkUploader.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-uploader/src/test/java/org/apache/hadoop/mapred/uploader/TestFrameworkUploader.java @@ -477,7 +477,7 @@ public void testNativeIO() throws IOException { } Assert.assertFalse(uploader.checkSymlink(symlinkOutside)); } finally { - FileUtils.deleteDirectory(parent); + FileUtils.forceDelete(parent); } }