Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-27595

ThreadGroup is removed since Hadoop 3.2.4

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.6.0, 3.0.0-alpha-4, 2.5.4
    • None
    • None
    • Reviewed

    Description

      Found lots of WARNING in UT log:

      2023-01-26T05:26:18,869 WARN  [FsDatasetAsyncDiskServiceFixer] hbase.HBaseTestingUtil$FsDatasetAsyncDiskServiceFixer(617): failed to reset thread pool timeout for FsDatasetAsyncDiskService
      java.lang.NoSuchFieldException: threadGroup
      	at java.lang.Class.getDeclaredField(Class.java:2411) ~[?:?]
      	at org.apache.hadoop.hbase.HBaseTestingUtil$FsDatasetAsyncDiskServiceFixer.run(HBaseTestingUtil.java:609) ~[test-classes/:?]
      

      FsDatasetAsyncDiskServiceFixer is introduced by HBASE-27148, to prevent unexpected kill.

      But Hadoop 3.2.4 has fixed this issue HDFS-16586 and for now HBase use 3.2.4 on branch master.

      So I think maybe can remove these code.

      Attachments

        Issue Links

          Activity

            People

              tangtianhang tianhang tang
              tangtianhang tianhang tang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: