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

null. Contributed by Bibin A Chundatt
This commit is contained in:
Xuan 2015-04-05 00:40:57 -07:00
parent 4b3948ea36
commit 96d72118f5
2 changed files with 4 additions and 1 deletions

View File

@ -142,6 +142,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)
._(