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

Chris Trezzo edited comment on YARN-5797 at 11/1/16 4:27 AM:
-------------------------------------------------------------

Attaching v1 patch to get a qa run. Summary:

# Added metrics to {{NodeManagerMetrics}} that will expose stats from 
{{LocalCacheCleanerStats}}.
# Adjusted {{ResourceLocalizationService}} constructor to take a 
{{NodeManagerMetrics}} param. Also adjusted {{handleCacheCleanup}} to update 
the new metrics.
# Adjusted {{TestLocalCacheCleanup}} to cover metrics as well.
# Refactored other unit tests to adjust for change in 
{{ResourceLocalizationService}} constructor.


was (Author: ctrezzo):
Attaching v1 patch to get a qa run. Summary:

# Added metrics that expose stats from {{LocalCacheCleanerStats}}.
# Adjusted {{TestLocalCacheCleanup}} to cover metrics as well.
# Refactored other unit tests to adjust for change in 
{{ResourceLocalizationService}} constructor to pass in {{NodeManagerMetrics}}.

> 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