MAPREDUCE-2623. Update ClusterMapReduceTestCase to use MiniDFSCluster.Builder. Contributed by Harsh J Chouraria
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1147981 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
81001b87c1
commit
2a49e1a3a4
@ -200,6 +200,9 @@ Trunk (unreleased changes)
|
||||
MAPREDUCE-2249. Check the reflexive property of Counters objects when
|
||||
comparing equality. (Devaraj K via todd)
|
||||
|
||||
MAPREDUCE-2623. Update ClusterMapReduceTestCase to use
|
||||
MiniDFSCluster.Builder (Harsh J Chouraria via eli)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
MAPREDUCE-2026. Make JobTracker.getJobCounters() and
|
||||
|
@ -78,7 +78,8 @@ protected synchronized void startCluster(boolean reformatDFS, Properties props)
|
||||
conf.set((String) entry.getKey(), (String) entry.getValue());
|
||||
}
|
||||
}
|
||||
dfsCluster = new MiniDFSCluster(conf, 2, reformatDFS, null);
|
||||
dfsCluster = new MiniDFSCluster.Builder(conf).numDataNodes(2)
|
||||
.format(reformatDFS).racks(null).build();
|
||||
|
||||
ConfigurableMiniMRCluster.setConfiguration(props);
|
||||
//noinspection deprecation
|
||||
|
Loading…
Reference in New Issue
Block a user