hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5518) MRUnit unit test library
Date Tue, 31 Mar 2009 01:51:50 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693972#action_12693972

Hadoop QA commented on HADOOP-5518:

-1 overall.  Here are the results of testing the latest attachment 
  against trunk revision 760098.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 23 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    -1 Eclipse classpath. The patch causes the Eclipse classpath to differ from the contents
of the lib directories.

    -1 release audit.  The applied patch generated 662 release audit warnings (more than the
trunk's current 660 warnings).

    +1 core tests.  The patch passed core unit tests.

    -1 contrib tests.  The patch failed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/81/testReport/
Release audit warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/81/artifact/trunk/current/releaseAuditDiffWarnings.txt
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/81/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/81/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/81/console

This message is automatically generated.

> MRUnit unit test library
> ------------------------
>                 Key: HADOOP-5518
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5518
>             Project: Hadoop Core
>          Issue Type: New Feature
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>         Attachments: HADOOP-5518-2.patch, mrunit.patch, overview.html
> MRUnit is a tool to help authors of MapReduce programs write unit tests.
> Testing map() and reduce() methods requires some repeated work to mock the inputs and
outputs of a Mapper or Reducer class, and ensure that the correct values are emitted to the
OutputCollector based on inputs. Also, testing a mapper and reducer together requires running
them with the sorted ordering guarantees made by the shuffle process.
> This library provides the above functionality to authors of maps and reduces; it allows
you to test maps, reduces, and map-reduce pairs without needing to perform all the setup and
teardown work associated with running a job.
> I believe this tool may be useful to the broader Hadoop community, so I have cleaned
it up and would like to see it become a "contrib" module. My current environment is based
on Hadoop 0.18, so this is the format it expects to use. It does not have support for the
new Context-based interfaces for mappers/reducers.
> I have attached the overview.html file for its javadoc, which provides more synopsis
and an example of usage; I am also providing the current source code so that you can evaluate
its structure.
> Ideally with some feedback from the community this will move toward supporting the current
trunk interface soon.
> This currently works with JUnit 4; the supplied patch changes Ivy's libraries.properties
file to use JUnit 4.5. I'm marking HADOOP-4901 as a dependency for this reason.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message