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/2a21313a Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2a21313a Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2a21313a Branch: refs/heads/HBASE-16961 Commit: 2a21313aac9a5a9e25b454949b08973bea650291 Parents: 76f3e7f Author: Josh Elser <els...@apache.org> Authored: Mon Nov 7 13:46:42 2016 -0500 Committer: Josh Elser <els...@apache.org> Committed: Tue Apr 11 13:10:02 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(-) ----------------------------------------------------------------------