[
https://issues.apache.org/jira/browse/HBASE-27407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wellington Chevreuil resolved HBASE-27407.
------------------------------------------
Resolution: Fixed
Thanks for your contribution [~lkovacs] , had now merged it into master,
branch-2, branch-2.5 and branch-2.4.
> Fixing check for "description" request param in JMXJsonServlet.java
> -------------------------------------------------------------------
>
> Key: HBASE-27407
> URL: https://issues.apache.org/jira/browse/HBASE-27407
> Project: HBase
> Issue Type: Bug
> Components: metrics
> Affects Versions: 2.6.0, 3.0.0-alpha-3
> Reporter: Luca Kovacs
> Assignee: Luca Kovacs
> Priority: Minor
> Fix For: 2.6.0, 2.5.1, 3.0.0-alpha-4, 2.4.15
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)