摘要: MapReduce默认的InputFormat是TextInputFormat,且key是偏移量,value是文本,自定义InputFormat需要实现FileInputFormat,并重写createRecorder方法,如果需要还可以重写isSplitable()来设置是否切片,重写了creat 阅读全文
posted @ 2018-09-21 20:05 tele 阅读(921) 评论(0) 推荐(0)