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/774eef1a Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/774eef1a Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/774eef1a Branch: refs/heads/HBASE-16961 Commit: 774eef1a37ae08b4a4c7351b06bcc6d2ffc04af5 Parents: 501f7b5 Author: Josh Elser <els...@apache.org> Authored: Mon Nov 7 13:46:42 2016 -0500 Committer: Josh Elser <els...@apache.org> Committed: Wed Dec 14 17:39:30 2016 -0500 ---------------------------------------------------------------------- .../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(-) ----------------------------------------------------------------------