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>
This commit is contained in:
tianhang 2023-02-02 14:15:44 +08:00 committed by GitHub
parent 8e72cc6ee0
commit a3686eb052
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

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

View File

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