YARN-2081. Fixed TestDistributedShell failure after YARN-1962. Contributed by Zhiguo Hong.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1596724 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhijie Shen 2014-05-22 01:16:14 +00:00
parent 4dfedd81a4
commit 28058894dd
2 changed files with 4 additions and 0 deletions

View File

@ -240,6 +240,9 @@ Release 2.4.1 - UNRELEASED
YARN-2066. Wrong field is referenced in GetApplicationsRequestPBImpl#mergeLocalToBuilder()
(Hong Zhiguo via junping_du)
YARN-2081. Fixed TestDistributedShell failure after YARN-1962. (Zhiguo Hong
via zjshen)
Release 2.4.0 - 2014-04-07
INCOMPATIBLE CHANGES

View File

@ -73,6 +73,7 @@ public class TestDistributedShell {
conf.setClass(YarnConfiguration.RM_SCHEDULER,
FifoScheduler.class, ResourceScheduler.class);
conf.set("yarn.log.dir", "target");
conf.setBoolean(YarnConfiguration.TIMELINE_SERVICE_ENABLED, true);
if (yarnCluster == null) {
yarnCluster = new MiniYARNCluster(
TestDistributedShell.class.getSimpleName(), 1, 1, 1, 1, true);