[
https://issues.apache.org/jira/browse/HBASE-28238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
selina.yan updated HBASE-28238:
-------------------------------
Description:
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}
was:
The updateConfiguration operation 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 and write requests. If the handle is
occupied, the configuration cannot be updated. In fact, 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}
Summary: rpcservice should perform some important admin operation to
priority ADMIN_QOS (was: rsrpcservice should perform the updateConfiguration
operation to priority @QosPriority(priority = HConstants.ADMIN_QOS))
> 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
>
> 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)