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

This commit is contained in:
Thomas Graves 2015-05-08 16:35:40 +00:00
parent bcf2890502
commit 5d708a4725
2 changed files with 5 additions and 2 deletions

View File

@ -353,6 +353,8 @@ Release 2.8.0 - UNRELEASED
YARN-3589. RM and AH web UI display DOCTYPE wrongly. (Rohith via ozawa) 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 Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

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