I'm currently implementing JUnit testcases and setup a Cluster like it's
done in TestMapReduceLocal:
@Test
public void testWithLocal() throws Exception {
MiniMRCluster mr = null;
try {
mr = new MiniMRCluster(2, "file:///", 3);
Configuration conf = mr
On 09/26/2010 11:34 PM, Ted Yu wrote:
> The source code is located at
> hadoop-0.20.2+320//src/test/org/apache/hadoop/mapred/MiniMRCluster.java
Thanks, the dependency is:
com.cloudera.hadoop
hadoop-test
0.20.2-320
test
regards,
Johannes
The source code is located at
hadoop-0.20.2+320//src/test/org/apache/hadoop/mapred/MiniMRCluster.java
On Sun, Sep 26, 2010 at 2:23 PM, Johannes.Lichtenberger <
johannes.lichtenber...@uni-konstanz.de> wrote:
> Hello,
>
> I'm currently trying to write testcases for my mapreduce application and
> I'
Hello,
I'm currently trying to write testcases for my mapreduce application and
I've read TestMapReduceLocal as an example, so I tried to use
MiniMRCluster as well, but it's not included in the dependencies (I'm
using the cloudera distribution and Maven, but have tested it with the
regular Apache