[ https://issues.apache.org/jira/browse/HBASE-17568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15897887#comment-15897887 ]
Ted Yu commented on HBASE-17568: -------------------------------- {code} + private static class SizeSnapshot { {code} Name the class SizeSnapshotWithTimestamp ? {code} + public int pruneEntriesOlderThan(long timeToPruneBefore) { {code} The method can be package private. > Expire region reports in the HMaster > ------------------------------------ > > Key: HBASE-17568 > URL: https://issues.apache.org/jira/browse/HBASE-17568 > Project: HBase > Issue Type: Sub-task > Reporter: Josh Elser > Assignee: Josh Elser > Fix For: HBASE-16961 > > Attachments: HBASE-17568.001.patch, HBASE-17568.002.HBASE-16961.patch > > > (From a TODO) > The RegionServers send reports of sizes from to the Master so the Master can > compute the "size" of each Table. > Presently, the Master has no way to expire these reports. Thus, reports for > tables that are deleted would be retained in memory. Retain the time at which > the report was received by the master, and then use that to determine when to > age it off. -- This message was sent by Atlassian JIRA (v6.3.15#6346)