HBASE-17568 Better handle stale/missing region size reports
commit91b4d2e827e61a4bedae232aae3f8f5a10015ae3
authorJosh Elser <elserj@apache.org>
Fri, 3 Feb 2017 21:33:47 +0000 (3 16:33 -0500)
committerJosh Elser <elserj@apache.org>
Mon, 22 May 2017 17:41:35 +0000 (22 13:41 -0400)
tree854efef42da7339ee440674b2f55006461c46f67
parent8159eae7810a6bf6e13596fed9f8cb7f1aff9dfc
HBASE-17568 Better handle stale/missing region size reports

* Expire region reports in the master after a timeout.
* Move regions in violation out of violation when insufficient
    region size reports are observed.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/MasterQuotaManager.java
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaObserverChore.java
hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestMasterQuotaManager.java
hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaObserverChoreRegionReports.java [new file with mode: 0644]