anoopsjohn commented on a change in pull request #559: HBASE-22944
TableNotFoundException: hbase:quota is thrown when region server is restarted.
URL: https://github.com/apache/hbase/pull/559#discussion_r320692360
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/SpaceQuotaRefresherChore.java
##########
@@ -74,6 +75,11 @@ public
SpaceQuotaRefresherChore(RegionServerSpaceQuotaManager manager, Connectio
@Override
protected void chore() {
try {
+ // check whether Quota table is present or not.
+ if (!checkQuotaTableExists()) {
Review comment:
This will result in a META read. This can be done only once in the life time
of an RS right if we found Quota table exists? A Boolean state can help here.
Why do you think we should do a WARN log? It can be just INFO at max IMO.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services