摘要: 继承关系:SequenceFileInputFormat extends FileInputFormat implements InputFormat 。SequenceFileInputFormat 代码如下(其实很简单): /** * 覆盖了FileInputFormat的这个方法,FileInputFormat通过这个方法得到的FileStatus[] * 长度就是将要运行的map的长度,每个FileStatus对应一个文件 */ @Override protected FileStatus[] listStatus(JobConf job) throws IOExce... 阅读全文
posted @ 2012-04-27 14:07 xiao晓 阅读(4115) 评论(0) 推荐(0) 编辑