首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

MRUnit应用

2013-02-24 
MRUnit使用MRUnit是一个用于测试mapreduce程序的java框架,它可以很方便地测试Mapper和rudecer程序?使用方

MRUnit使用

MRUnit是一个用于测试mapreduce程序的java框架,它可以很方便地测试Mapper和rudecer程序

?

使用方法:

在maven中加入下面配置:

<dependency>      <groupId>org.apache.mrunit</groupId>      <artifactId>mrunit</artifactId>      <version>0.9.0-incubating</version>      <classifier>hadoop2</classifier>    </dependency>

?The MRUnit build process has changed to produce mrunit-0.9.0-hadoop1.jar and mrunit-0.9.0-hadoop2.jar instead of mrunit-0.9.0-hadoop020.jar, mrunit-0.9.0-hadoop100.jar and mrunit-0.9.0-hadoop023.jar. The hadoop1 classifier is for all Apahce Hadoop versions based off the 0.20.X line including 1.0.X. The hadoop2 classifier is for all Apache Hadoop versions based off the 0.23.X line including the unreleased 2.0.X.

?

?

参考:https://cwiki.apache.org/confluence/display/MRUNIT/Index

热点排行