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:
parent
8e72cc6ee0
commit
a3686eb052
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue