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

Fixing check for "description" request param in JMXJsonServlet.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.6.0, 3.0.0-alpha-3
    • 2.6.0, 2.5.1, 3.0.0-alpha-4, 2.4.15
    • metrics
    • None

    Description

      When trying to access the JMX metrics' description via the "description=true" URL parameter, any value is accepted.

      The current version checks only if "description" is in the URL parameter, but doesn't check the parameter value. 

      I would like to fix this via checking if the parameter value is 'true' and showing the description only when this condition is met.

      Attachments

        Activity

          People

            lkovacs Luca Kovacs
            lkovacs Luca Kovacs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: