ndimiduk commented on code in PR #5424:
URL: https://github.com/apache/hbase/pull/5424#discussion_r1336643093
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaCache.java:
##########
@@ -74,12 +83,15 @@ public class QuotaCache implements Stoppable {
private final ConcurrentHashMap<TableName, Double> tableMachineQuotaFactors =
new ConcurrentHashMap<>();
private final RegionServerServices rsServices;
+ private final String userOverrideRequestAttributeKey;
private QuotaRefresherChore refreshChore;
private boolean stopped = true;
public QuotaCache(final RegionServerServices rsServices) {
this.rsServices = rsServices;
+ this.userOverrideRequestAttributeKey = rsServices.getConfiguration()
+ .get(QUOTA_USER_REQUEST_ATTRIBUTE_OVERRIDE_KEY,
QUOTA_USER_REQUEST_ATTRIBUTE_OVERRIDE_KEY);
Review Comment:
Hmm yeah okay. Maybe I'm also suffering from a parsing error from
"user.override.key" vs. "user_override_key" -- we're a bit lazy with how we
build configuration keys because there's no explicit hierarchy tied to the `.`
separator.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]