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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0.3, 1.0.1, 1.1.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: