YARN-3435. AM container to be allocated Appattempt AM container shown as

null. Contributed by Bibin A Chundatt

(cherry picked from commit 96d72118f5)
This commit is contained in:
Xuan 2015-04-05 00:40:57 -07:00
parent 00854d2c2f
commit 1eb6d74967
2 changed files with 4 additions and 1 deletions

View File

@ -94,6 +94,9 @@ Release 2.8.0 - UNRELEASED
YARN-3415. Non-AM containers can be counted towards amResourceUsage of a
Fair Scheduler queue (Zhihai Xu via Sandy Ryza)
YARN-3435. AM container to be allocated Appattempt AM container shown as null.
(Bibin A Chundatt via xgong)
Release 2.7.0 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -209,7 +209,7 @@ public class RMAppAttemptBlock extends AppAttemptBlock{
"AM Container:",
appAttempt.getAmContainerId() == null || containers == null
|| !hasAMContainer(appAttemptReport.getAMContainerId(), containers)
? null : root_url("container", appAttempt.getAmContainerId()),
? "N/A" : root_url("container", appAttempt.getAmContainerId()),
String.valueOf(appAttempt.getAmContainerId()))
._("Node:", node)
._(