hadoop
慢慢变富的程序员
活到老,学到老
展开
-
做mapreduce join时遇到的问题
遇到的问题: 1、有关text的问题(还是没想明白) @Override protectedvoid reduce(TextPair key, Iterable values, Contextcontext) throwsIOException, InterruptedException { //TODO Auto-generated method stub Textt1 = new原创 2013-12-04 11:10:03 · 678 阅读 · 0 评论 -
mapreduce测试
import import import import org.apache.hadoop.io.LongWritable; org.apache.hadoop.io.Text; org.apache.hadoop.mrunit.mapreduce.MapDriver; org.junit.Test; public class MyMapperTest { @Test publ原创 2013-12-22 09:16:32 · 524 阅读 · 0 评论