HBASE-27595 ThreadGroup is removed since Hadoop 3.2.4 (#5001)

Co-authored-by: tianhang.tang <tianhang.tang@shopee.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit a3686eb052)
This commit is contained in:
tianhang 2023-02-02 14:15:44 +08:00 committed by Duo Zhang
parent 20a26dd043
commit 2bb8897f76
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}