public void map(WritableComparable key, Writable val,
OutputCollector<WritableComparable, Writable> output,
Reporter reporter)
throws IOException {
assertNotNull("Mapper not configured!", loader);
// load the memory
loader.load();
// work as identity mapper
output.collect(key, val);
}
TestJobCounters.java 文件源码
java
阅读 49
收藏 0
点赞 0
评论 0
项目:hadoop
作者:
评论列表
文章目录