You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/09/15 08:29:06 UTC
[GitHub] [hbase] shardul-cr7 commented on a change in pull request #559:
HBASE-22944 Space Quota: TableNotFoundException: hbase:quota is thrown when
region server is restarted.
shardul-cr7 commented on a change in pull request #559: HBASE-22944 Space Quota: TableNotFoundException: hbase:quota is thrown when region server is restarted.
URL: https://github.com/apache/hbase/pull/559#discussion_r324451813
##########
File path: hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/SpaceQuotaRefresherChore.java
##########
@@ -74,6 +76,12 @@ public SpaceQuotaRefresherChore(RegionServerSpaceQuotaManager manager, Connectio
@Override
protected void chore() {
try {
+ // check whether Quota table is present or not.
+ if (!quotaTablePresent && !checkQuotaTableExists()) {
+ LOG.info("Quota table not found, skipping quota manager cache refresh.");
+ quotaTablePresent = true;
Review comment:
ohh yes..I should set it after the if condition...my bad :)
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services