[
https://issues.apache.org/jira/browse/HBASE-28238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang resolved HBASE-28238.
-------------------------------
Hadoop Flags: Reviewed
Resolution: Fixed
> rpcservice should perform some important admin operation to priority ADMIN_QOS
> ------------------------------------------------------------------------------
>
> Key: HBASE-28238
> URL: https://issues.apache.org/jira/browse/HBASE-28238
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 2.5.0
> Reporter: selina.yan
> Assignee: selina.yan
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.0.0-beta-2
>
>
> some important admin operations should be admin priority,like
> compactionSwitch,rollWALWriter,updateConfiguration.
> these operations called by admin should be considered a higher priority
> operation and given to the priority queue, but is currently considered to
> have the same priority as read or write requests. If the handle is occupied,
> the operations cannot be execute successful. For example, in our scenario,
> some abnormal phoenix sql is killed by controlling the amount of data that
> scan can filter with dynamic parameters. Abnormal sql often results in a full
> handle. In this case, the configuration cannot be dynamically modified to
> implement emergency traffic limiting.
> {code:java}
> @Override
> @QosPriority(priority = HConstants.ADMIN_QOS)
> public UpdateConfigurationResponse updateConfiguration(
> RpcController controller, UpdateConfigurationRequest request)
> throws ServiceException {{code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)