YARN-3382. Some of UserMetricsInfo metrics are incorrectly set to root queue metrics. Contributed by Rohit Agarwal
(cherry picked from commit 944a16579f
)
This commit is contained in:
parent
bc979ff3bf
commit
32b01263d3
|
@ -129,6 +129,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
YARN-3465. Use LinkedHashMap to preserve order of resource requests.
|
YARN-3465. Use LinkedHashMap to preserve order of resource requests.
|
||||||
(Zhihai Xu via kasha)
|
(Zhihai Xu via kasha)
|
||||||
|
|
||||||
|
YARN-3382. Some of UserMetricsInfo metrics are incorrectly set to root
|
||||||
|
queue metrics. (Rohit Agarwal via jianhe)
|
||||||
|
|
||||||
Release 2.7.1 - UNRELEASED
|
Release 2.7.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -63,11 +63,11 @@ public class UserMetricsInfo {
|
||||||
this.userMetricsAvailable = true;
|
this.userMetricsAvailable = true;
|
||||||
|
|
||||||
this.appsSubmitted = userMetrics.getAppsSubmitted();
|
this.appsSubmitted = userMetrics.getAppsSubmitted();
|
||||||
this.appsCompleted = metrics.getAppsCompleted();
|
this.appsCompleted = userMetrics.getAppsCompleted();
|
||||||
this.appsPending = metrics.getAppsPending();
|
this.appsPending = userMetrics.getAppsPending();
|
||||||
this.appsRunning = metrics.getAppsRunning();
|
this.appsRunning = userMetrics.getAppsRunning();
|
||||||
this.appsFailed = metrics.getAppsFailed();
|
this.appsFailed = userMetrics.getAppsFailed();
|
||||||
this.appsKilled = metrics.getAppsKilled();
|
this.appsKilled = userMetrics.getAppsKilled();
|
||||||
|
|
||||||
this.runningContainers = userMetrics.getAllocatedContainers();
|
this.runningContainers = userMetrics.getAllocatedContainers();
|
||||||
this.pendingContainers = userMetrics.getPendingContainers();
|
this.pendingContainers = userMetrics.getPendingContainers();
|
||||||
|
|
Loading…
Reference in New Issue