Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-16246

Exclude "SdkMBeanRegistrySupport" from dynamically loaded AWS connectors

    XMLWordPrintableJSON

Details

    Description

      The AWS SDK always registers a MetricAdminMBean at the JMX MBean Server.
      This allows users to turn on / off more detailed metrics via the JMX admin interface.

      However, this registered bean keeps the user code classloader alive and thus causes a class leak.

      Excluding the com.amazonaws.jmx.SdkMBeanRegistrySupport class from the connectors disables the default registration thus preventing the class leak. It should only disable that JMX metric admin interface and still allow users to manually configure/activate metrics for the AWS SDK.

      Attachments

        Issue Links

          Activity

            People

              sewen Stephan Ewen
              sewen Stephan Ewen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m