[ https://issues.apache.org/jira/browse/MAPREDUCE-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron Kimball updated MAPREDUCE-800: ------------------------------------ Attachment: MAPREDUCE-800.patch Implementation of MRUnit over new API. New code is in the org.apache.hadoop.mrunit.mapreduce package, which contains many identically-named classes to those in the base org.apache.hadoop.mrunit package, similar to the mapred/mapreduce package style used in Hadoop MapReduce itself. This adds mock implementations of Mapper.Context and Reducer.Context which are used as inputs to user-provided Mapper and Reducer classes. This takes advantage of the fact that even though Mapper.Context and Reducer.Context are not static classes, they make use of no state of their outer class Mapper or Reducer objects, merely the shared type signature. > MRUnit should support the new API > --------------------------------- > > Key: MAPREDUCE-800 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-800 > Project: Hadoop Map/Reduce > Issue Type: New Feature > Reporter: Aaron Kimball > Assignee: Aaron Kimball > Attachments: MAPREDUCE-800.patch > > > MRUnit's TestDriver implementations use the old > org.apache.hadoop.mapred-based classes. TestDrivers and associated mock > object implementations are required for org.apache.hadoop.mapreduce-based > code. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.