[
https://issues.apache.org/jira/browse/YARN-3105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14293915#comment-14293915
]
Ray Chiang commented on YARN-3105:
----------------------------------
StateMachineFactory is the base class for the addTransition() methods used by
classes like RMContainerImpl and RMAppImpl, among others. I see the following
options for adding a generic metric framework to measure the transition
runtimes:
A1) Add argument(s) to addTransition()
A2) Add new method like addTransitionRuntimeMetric()
The arguments needed would need to be enough to find and set the appropriate
metric.
Of course, I'm open to other suggestions for how best to implement this feature.
> Add generic state transition metrics to existing framework
> ----------------------------------------------------------
>
> Key: YARN-3105
> URL: https://issues.apache.org/jira/browse/YARN-3105
> Project: Hadoop YARN
> Issue Type: Improvement
> Reporter: Ray Chiang
> Assignee: Ray Chiang
> Labels: metrics, supportability
>
> This issue came up in the discussion of adding a container metric in
> YARN-2868 (and related YARN-2802).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)