This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new 2bb8897f76f HBASE-27595 ThreadGroup is removed since Hadoop 3.2.4
(#5001)
2bb8897f76f is described below
commit 2bb8897f76f8fc44b8eff8d343169ef991cb793c
Author: tianhang <[email protected]>
AuthorDate: Thu Feb 2 14:15:44 2023 +0800
HBASE-27595 ThreadGroup is removed since Hadoop 3.2.4 (#5001)
Co-authored-by: tianhang.tang <[email protected]>
Signed-off-by: Duo Zhang <[email protected]>
(cherry picked from commit a3686eb052a00911a2331c70d92525641a9fe01e)
---
.../src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
index 6e073dcb10a..a56433576d9 100644
---
a/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
+++
b/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
@@ -616,6 +616,10 @@ public class HBaseTestingUtility extends
HBaseZKTestingUtility {
threadGroup.setDaemon(false);
}
}
+ } catch (NoSuchFieldException e) {
+ LOG.debug("NoSuchFieldException: " + e.getMessage()
+ + "; It might because your Hadoop version > 3.2.3 or 3.3.4, "
+ + "See HBASE-27595 for details.");
} catch (Exception e) {
LOG.warn("failed to reset thread pool timeout for
FsDatasetAsyncDiskService", e);
}