[ 
https://issues.apache.org/jira/browse/YARN-5797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15630595#comment-15630595
 ] 

Chris Trezzo commented on YARN-5797:
------------------------------------

Note that the patch exposes the following metrics about the cache cleanup:
# cacheSizeBeforeClean - The local cache size (public and private) before clean 
in Bytes
# totalBytesDeleted - # of total bytes deleted from the public and private 
local cache
# publicBytesDeleted - # of bytes deleted from the public local cache
# privateBytesDeleted - # of bytes deleted from the private local cache

{{LocalCacheCleanerStats}} also exposes the individual amounts deleted (in 
bytes) from each user private cache. I wasn't quite sure of a good way to 
expose this via metrics, so I left it out of the current patch.

> Add metrics to the node manager for cleaning the PUBLIC and PRIVATE caches
> --------------------------------------------------------------------------
>
>                 Key: YARN-5797
>                 URL: https://issues.apache.org/jira/browse/YARN-5797
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Chris Trezzo
>            Assignee: Chris Trezzo
>         Attachments: YARN-5797-trunk-v1.patch
>
>
> Add new metrics to the node manager around the local cache sizes and how much 
> is being cleaned from them on a regular bases. For example, we can expose 
> information contained in the {{LocalCacheCleanerStats}} class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to