This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push: new a3686eb052a HBASE-27595 ThreadGroup is removed since Hadoop 3.2.4 (#5001) a3686eb052a is described below commit a3686eb052a00911a2331c70d92525641a9fe01e Author: tianhang <tangtianhang...@gmail.com> 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 <tianhang.t...@shopee.com> Signed-off-by: Duo Zhang <zhang...@apache.org> --- .../src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java | 4 ++++ .../src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java index 5bf3ae93294..8f781610612 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java @@ -613,6 +613,10 @@ public class HBaseTestingUtil extends HBaseZKTestingUtil { 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); } diff --git a/hbase-testing-util/src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java b/hbase-testing-util/src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java index 23467d78de5..5329408e4e6 100644 --- a/hbase-testing-util/src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java +++ b/hbase-testing-util/src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java @@ -550,6 +550,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); }