juntaozhang created YARN-12065:
----------------------------------
Summary: Add container execution duration metric to
NodeManagerMetrics
Key: YARN-12065
URL: https://issues.apache.org/jira/browse/YARN-12065
Project: Hadoop YARN
Issue Type: Bug
Components: nodemanager
Reporter: juntaozhang
NodeManager currently exposes `containerLaunchDuration`, which measures the
time required to launch a container, but there is no aggregate metric for the
actual execution duration after a container enters RUNNING.
Although per-container start and finish timestamps are available through
`ContainerMetrics`, those metrics are optional, high-cardinality, and are
unregistered after container completion. In addition, the existing container
start time is recorded when the container is created on the NM, rather than
when it enters RUNNING. As a result, they do not provide a lightweight,
node-level view of container execution time.
An aggregate execution duration metric would complement
`containerLaunchDuration` and help operators understand how long containers
actually execute on each NodeManager.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]