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:
parent
4dfedd81a4
commit
28058894dd
|
@ -240,6 +240,9 @@ Release 2.4.1 - UNRELEASED
|
||||||
YARN-2066. Wrong field is referenced in GetApplicationsRequestPBImpl#mergeLocalToBuilder()
|
YARN-2066. Wrong field is referenced in GetApplicationsRequestPBImpl#mergeLocalToBuilder()
|
||||||
(Hong Zhiguo via junping_du)
|
(Hong Zhiguo via junping_du)
|
||||||
|
|
||||||
|
YARN-2081. Fixed TestDistributedShell failure after YARN-1962. (Zhiguo Hong
|
||||||
|
via zjshen)
|
||||||
|
|
||||||
Release 2.4.0 - 2014-04-07
|
Release 2.4.0 - 2014-04-07
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -73,6 +73,7 @@ public class TestDistributedShell {
|
||||||
conf.setClass(YarnConfiguration.RM_SCHEDULER,
|
conf.setClass(YarnConfiguration.RM_SCHEDULER,
|
||||||
FifoScheduler.class, ResourceScheduler.class);
|
FifoScheduler.class, ResourceScheduler.class);
|
||||||
conf.set("yarn.log.dir", "target");
|
conf.set("yarn.log.dir", "target");
|
||||||
|
conf.setBoolean(YarnConfiguration.TIMELINE_SERVICE_ENABLED, true);
|
||||||
if (yarnCluster == null) {
|
if (yarnCluster == null) {
|
||||||
yarnCluster = new MiniYARNCluster(
|
yarnCluster = new MiniYARNCluster(
|
||||||
TestDistributedShell.class.getSimpleName(), 1, 1, 1, 1, true);
|
TestDistributedShell.class.getSimpleName(), 1, 1, 1, 1, true);
|
||||||
|
|
Loading…
Reference in New Issue