merge MAPREDUCE-4005 from trunk
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1301693 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
debf136f0d
commit
1514466b7a
|
@ -237,6 +237,9 @@ Release 0.23.2 - UNRELEASED
|
|||
MAPREDUCE-3982. Fixed FileOutputCommitter to not err out for an 'empty-job'
|
||||
whose tasks don't write any outputs. (Robert Joseph Evans via vinodkv)
|
||||
|
||||
MAPREDUCE-4005. Fixes broken AM container logs URL on ResourceManager
|
||||
Application Info page. (Jason Lowe via sseth)
|
||||
|
||||
Release 0.23.1 - 2012-02-17
|
||||
|
||||
NEW FEATURES
|
||||
|
|
|
@ -118,7 +118,8 @@ public class AppInfo {
|
|||
this.amContainerLogsExist = true;
|
||||
String url = join("http://", masterContainer.getNodeHttpAddress(),
|
||||
"/node", "/containerlogs/",
|
||||
ConverterUtils.toString(masterContainer.getId()));
|
||||
ConverterUtils.toString(masterContainer.getId()),
|
||||
"/", app.getUser());
|
||||
this.amContainerLogs = url;
|
||||
this.amHostHttpAddress = masterContainer.getNodeHttpAddress();
|
||||
}
|
||||
|
|
|
@ -751,6 +751,8 @@ public class TestRMWebServicesApps extends JerseyTest {
|
|||
amHostHttpAddress);
|
||||
assertTrue("amContainerLogs doesn't match",
|
||||
amContainerLogs.startsWith("http://"));
|
||||
assertTrue("amContainerLogs doesn't contain user info",
|
||||
amContainerLogs.endsWith("/" + app.getUser()));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue