You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2023/02/02 06:36:04 UTC

[hbase] branch branch-2.5 updated: HBASE-27595 ThreadGroup is removed since Hadoop 3.2.4 (#5001)

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

zhangduo pushed a commit to branch branch-2.5
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.5 by this push:
     new 0967364b030 HBASE-27595 ThreadGroup is removed since Hadoop 3.2.4 (#5001)
0967364b030 is described below

commit 0967364b030b608fc7cf0f4b90e303b0e8bf1c97
Author: tianhang <ta...@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 <ti...@shopee.com>
    Signed-off-by: Duo Zhang <zh...@apache.org>
    (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);
         }