HBASE-17000 Implement computation of online region sizes and report to the Master
Includes a trivial implementation of the Master-side collection to avoid. Only enough to write a test to verify RS collection. Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/6e042231 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/6e042231 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/6e042231 Branch: refs/heads/HBASE-16961 Commit: 6e0422319c570c1d7428d76383e0b54d6f8afc8c Parents: 7271549 Author: Josh Elser <els...@apache.org> Authored: Mon Nov 7 13:46:42 2016 -0500 Committer: Josh Elser <els...@apache.org> Committed: Mon Mar 20 17:45:33 2017 -0400 ---------------------------------------------------------------------- .../generated/RegionServerStatusProtos.java | 2071 +++++++++++++++++- .../src/main/protobuf/RegionServerStatus.proto | 22 + .../hadoop/hbase/master/MasterRpcServices.java | 19 + .../quotas/FileSystemUtilizationChore.java | 205 ++ .../hadoop/hbase/quotas/MasterQuotaManager.java | 15 + .../hbase/regionserver/HRegionServer.java | 72 + .../quotas/TestFileSystemUtilizationChore.java | 357 +++ .../hadoop/hbase/quotas/TestRegionSizeUse.java | 194 ++ .../TestRegionServerRegionSpaceUseReport.java | 99 + 9 files changed, 3032 insertions(+), 22 deletions(-) ----------------------------------------------------------------------