Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-8446

Incorrect use of OperatingSystemMXBean

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.21.1
    • 1.21.2
    • None
    • None

    Description

      Context : 

      In Drill "CpuGaugeSet" class, we use an internal class instead of a public class : com.sun.management.OperatingSystemMXBean;

      This can result to a NoClassDefFoundError:

       

      To do : 

      Replace the private class "com.sun.managemenet.OperatingSystemMXBean" with "java.lang.management.OperatingSystemMXBean",

       

      Kind regards,

      Mahmoud

       

      Attachments

        1. image-2023-07-04-16-24-59-662.png
          22 kB
          Mahmoud Ouali Alami
        2. image-2023-07-04-15-36-42-905.png
          54 kB
          Mahmoud Ouali Alami

        Issue Links

          Activity

            People

              dzamo James Turton
              oualiala Mahmoud Ouali Alami
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: