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/f1b62080 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f1b62080 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f1b62080 Branch: refs/heads/HBASE-16961 Commit: f1b6208019d2015bb35c15644ca577001c53c54b Parents: 3b6b91a Author: Josh Elser <[email protected]> Authored: Mon Nov 7 13:46:42 2016 -0500 Committer: Josh Elser <[email protected]> Committed: Mon May 22 13:07:56 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(-) ----------------------------------------------------------------------
