[ https://issues.apache.org/jira/browse/HDFS-5451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colin Patrick McCabe updated HDFS-5451: --------------------------------------- Attachment: HDFS-5451.001.patch * Add bytesNeeded, bytesCached, and filesAffected to CacheDirective, CacheEntry, and plumb them through to listDirectives * Numbers should be right-justified in listDirectives output. * When TRACE is enabled, print out information about each file a cache directive is caching during a rescan. * In the Datanode log, print out what the DNA_CACHE/UNCACHE commands are doing, not just their names. Use {{dfs.max.num.blocks.to.log}} to avoid logging too many block IDs here. * add unit test for new stats > add more debugging for cache rescan > ----------------------------------- > > Key: HDFS-5451 > URL: https://issues.apache.org/jira/browse/HDFS-5451 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, namenode > Affects Versions: 3.0.0 > Reporter: Colin Patrick McCabe > Assignee: Andrew Wang > Attachments: HDFS-5451.001.patch > > > It would be nice to have message at DEBUG level that described all the > decisions we made for cache entries. That way we could turn on this > debugging to get more information. We should also store the number of bytes > each PBCE wanted, and the number of bytes it got, plus the number of inodes > it got, and output those in {{listDirectives}}. -- This message was sent by Atlassian JIRA (v6.1#6144)