hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: How to unit test mappers reading data from DistributedCache?
Date Fri, 18 Jan 2013 07:08:21 GMT
Best to ask on MRUnit's own lists at user@mrunit.apache.org.

However, to answer your question, yes it does. Look at this test case:
https://svn.apache.org/repos/asf/mrunit/trunk/src/test/java/org/apache/hadoop/mrunit/TestDistributedCache.java
.

The JIRA https://issues.apache.org/jira/browse/MRUNIT-98 implemented this.


On Fri, Jan 18, 2013 at 1:37 AM, Barak Yaish <barak.yaish@gmail.com> wrote:

> Hi,
>
> I've found MRUnit a very easy to unit test jobs, is it possible as well to
> test mappers reading data from DisributedCache? If yes, can you share an
> example how the test' setup() should look like?
>
> Thanks.
>



-- 
Harsh J

Mime
View raw message