YARN-3600. AM container link is broken (Naganarasimha G R via tgraves

(cherry picked from commit 5d708a4725)
This commit is contained in:
Thomas Graves 2015-05-08 16:35:40 +00:00
parent 28e0593b96
commit 547b069887
2 changed files with 5 additions and 2 deletions

View File

@ -308,6 +308,8 @@ Release 2.8.0 - UNRELEASED
YARN-3589. RM and AH web UI display DOCTYPE wrongly. (Rohith via ozawa)
YARN-3600. AM container link is broken (Naganarasimha G R via tgraves)
Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES

View File

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