[
https://issues.apache.org/jira/browse/YARN-7784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16347122#comment-16347122
]
Hudson commented on YARN-7784:
------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13589 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/13589/])
YARN-7784. Fix Cluster metrics when placement processor is enabled. (arun
suresh: rev f8c5f5b23732a1e35f012c1a6850bed09c8a5180)
* (edit)
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/AppSchedulingInfo.java
* (edit)
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/constraint/TestPlacementProcessor.java
* (edit)
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/common/fica/FiCaSchedulerApp.java
> Fix Cluster metrics when placement processor is enabled
> -------------------------------------------------------
>
> Key: YARN-7784
> URL: https://issues.apache.org/jira/browse/YARN-7784
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: metrics, RM
> Reporter: Weiwei Yang
> Assignee: Arun Suresh
> Priority: Major
> Fix For: YARN-6592
>
> Attachments: YARN-7784-YARN-6592.001.patch
>
>
> Reproducing steps
> # Setup a cluster and sets
> {{yarn.resourcemanager.placement-constraints.enabled}} to true
> # Submit a DS job with placement constraint, such as {{-placement_spec
> foo=2,NOTIN,NODE,foo}}
> # Check cluster metrics from http://<RM_ADDRESS>/cluster/apps
> when job is running, {{Containers Running}}, {{Memory Used}} and {{VCore
> Used}} were not updated (except AM), metrics from containers allocated by the
> PlacementProcessor were not accumulated to the cluster metrics; however when
> job is done, the resource were deducted. Then UI displays like following:
> * Containers Running: -2
> * Memory Used: -400
> * VCores Used: -2
> Looks like {{AppSchedulingInfo#updateMetricsForAllocatedContainer}} was not
> called when allocating a container.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]