[
https://issues.apache.org/jira/browse/HDFS-5556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colin Patrick McCabe updated HDFS-5556:
---------------------------------------
Attachment: HDFS-5556.001.patch
* listCachePools now returns a list of CachePoolEntry objects, which contain
CachePoolInfo and CachePoolStats. This is similar to how we handle
listDirectives.
* CachePool now contains an implicit list of all the CacheDirective objects in
that pool. Currently, this just makes deleting a cache pool faster. In the
future, this will be useful for improving the cache replication monitor.
* rename some places where we were using the word "entry" but really we should
be saying "directive"
* validate that we can't set negative CachePool weights. Throw
InvalidRequestException rather than plain IOE when asked to do this.
* CacheReplicationMonitor#rescanCacheDirectives: fix invalid javadoc comment.
* add NameNode statistics for total cluster cache capacity and usage in bytes.
* CacheManager#processCacheReportImpl: since we no longer send the genstamp of
cached blocks on the wire in cache reports, there is no need to check it here.
> add some more NameNode cache statistics, cache pool stats
> ---------------------------------------------------------
>
> Key: HDFS-5556
> URL: https://issues.apache.org/jira/browse/HDFS-5556
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Affects Versions: 3.0.0
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Attachments: HDFS-5556.001.patch
>
>
> Add some more NameNode cache statistics and also cache pool statistics.
--
This message was sent by Atlassian JIRA
(v6.1#6144)