From e621c57ca4e32b8af0782c2e202ff4549800458e Mon Sep 17 00:00:00 2001 From: sychen Date: Fri, 24 Jun 2022 12:46:33 +0800 Subject: [PATCH 1/2] bind retry --- .../hudi/common/testutils/minicluster/HdfsTestService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hudi-common/src/test/java/org/apache/hudi/common/testutils/minicluster/HdfsTestService.java b/hudi-common/src/test/java/org/apache/hudi/common/testutils/minicluster/HdfsTestService.java index 245377e5bf313..742a595998acc 100644 --- a/hudi-common/src/test/java/org/apache/hudi/common/testutils/minicluster/HdfsTestService.java +++ b/hudi-common/src/test/java/org/apache/hudi/common/testutils/minicluster/HdfsTestService.java @@ -103,7 +103,9 @@ public MiniDFSCluster start(boolean format) throws IOException { public void stop() { LOG.info("HDFS Minicluster service being shut down."); - miniDfsCluster.shutdown(); + if (miniDfsCluster != null) { + miniDfsCluster.shutdown(); + } miniDfsCluster = null; hadoopConf = null; } From 7331d9389c877ee93ca40c640794fcaee21b56d9 Mon Sep 17 00:00:00 2001 From: sychen Date: Sat, 25 Jun 2022 01:50:45 +0800 Subject: [PATCH 2/2] trigger test