[
https://issues.apache.org/jira/browse/HBASE-28299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nihal Jain updated HBASE-28299:
-------------------------------
Description:
During review https://github.com/apache/hbase/pull/5215, it was found we simply
return 200 even if instrumentation is not allowed. While at some places we set
proper error. This JIRA is to fix usages of the method and set proper response
code.
Review comment: https://github.com/apache/hbase/pull/5215/files#r1318296417
CC: [~ndimiduk]
was:
During review https://github.com/apache/hbase/pull/5215, it was found we simply
return 200 even if instrumentation is not allowed. While at some places we set
proper error. This JIRA is to fix usages of the method and set proper response
code.
CC: [~ndimiduk]
> Set proper error in response for all usages of
> HttpServer.isInstrumentationAccessAllowed()
> ------------------------------------------------------------------------------------------
>
> Key: HBASE-28299
> URL: https://issues.apache.org/jira/browse/HBASE-28299
> Project: HBase
> Issue Type: Bug
> Components: UI
> Reporter: Nihal Jain
> Assignee: Nihal Jain
> Priority: Minor
>
> During review https://github.com/apache/hbase/pull/5215, it was found we
> simply return 200 even if instrumentation is not allowed. While at some
> places we set proper error. This JIRA is to fix usages of the method and set
> proper response code.
> Review comment: https://github.com/apache/hbase/pull/5215/files#r1318296417
> CC: [~ndimiduk]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)