MAPREDUCE-4496. AM logs link is missing user name (Jason Lowe via bobby)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1367601 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e9bf6c56c5
commit
a37272e0e3
|
@ -769,6 +769,8 @@ Release 0.23.3 - UNRELEASED
|
|||
MAPREDUCE-4456. LocalDistributedCacheManager can get an
|
||||
ArrayIndexOutOfBounds when creating symlinks (Robert Evans via tgraves)
|
||||
|
||||
MAPREDUCE-4496. AM logs link is missing user name (Jason Lowe via bobby)
|
||||
|
||||
Release 0.23.2 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -64,7 +64,7 @@ public class AMAttemptInfo {
|
|||
if (containerId != null) {
|
||||
this.containerId = containerId.toString();
|
||||
this.logsLink = join("http://" + nodeHttpAddress,
|
||||
ujoin("node", "containerlogs", this.containerId));
|
||||
ujoin("node", "containerlogs", this.containerId, user));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -972,7 +972,8 @@ public class TestAMWebServicesJobs extends JerseyTest {
|
|||
WebServicesTestUtils.checkStringMatch("containerId", amInfo
|
||||
.getContainerId().toString(), containerId);
|
||||
|
||||
String localLogsLink = ujoin("node", "containerlogs", containerId);
|
||||
String localLogsLink =ujoin("node", "containerlogs", containerId,
|
||||
job.getUserName());
|
||||
|
||||
assertTrue("logsLink", logsLink.contains(localLogsLink));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue