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/91b27eda Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/91b27eda Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/91b27eda Branch: refs/heads/HBASE-16961 Commit: 91b27eda65c438836cd4e3166a9cd683485275a8 Parents: e0c0e95 Author: Josh Elser <els...@apache.org> Authored: Mon Nov 7 13:46:42 2016 -0500 Committer: Josh Elser <els...@apache.org> Committed: Tue Apr 25 18:24:20 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(-) ----------------------------------------------------------------------