Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-6307

mBeanName should be removed before returning from JmxReporter#removeAttribute()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0.3, 1.0.1, 1.1.0
    • None
    • None

    Description

      JmxReporter$KafkaMbean showed up near the top in the first histo output from KAFKA-6199.
      In JmxReporter#removeAttribute() :

              KafkaMbean mbean = this.mbeans.get(mBeanName);
              if (mbean != null)
                  mbean.removeAttribute(metricName.name());
              return mbean;
      

      mbeans.remove(mBeanName) should be called before returning.

      Attachments

        Issue Links

          Activity

            People

              sssanthalingam siva santhalingam
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: