You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by aa...@apache.org on 2021/05/26 06:56:18 UTC

[hadoop] branch branch-3.3 updated: MAPREDUCE-7348. TestFrameworkUploader#testNativeIO fails. (#3053)

This is an automated email from the ASF dual-hosted git repository.

aajisaka pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new e14d004  MAPREDUCE-7348. TestFrameworkUploader#testNativeIO fails. (#3053)
e14d004 is described below

commit e14d00469ad163dae0154efca1030d2283030b4d
Author: Akira Ajisaka <aa...@apache.org>
AuthorDate: Wed May 26 15:47:56 2021 +0900

    MAPREDUCE-7348. TestFrameworkUploader#testNativeIO fails. (#3053)
    
    Reviewed-by: Hui Fei <fe...@apache.org>
    (cherry picked from commit 8a489ce78e05cffc2de8923dc5ac7361a72250a8)
---
 .../java/org/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 40ef8f6..ed4d9ce 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 class TestFrameworkUploader {
       }
       Assert.assertFalse(uploader.checkSymlink(symlinkOutside));
     } finally {
-      FileUtils.deleteDirectory(parent);
+      FileUtils.forceDelete(parent);
     }
 
   }

---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org