mapreduce中设置自定义的输入类,进行文本解析(默认以tab键为分隔符)
时间:2017-11-05 22:12:00
收藏:0
阅读:273
job.setInputFormatClass(KeyValueTextInputFormat.class);\\此时map端输入的键的内容为第一个tab键以左的内容,值得内容为第一个tab键以右的内容
原文:http://www.cnblogs.com/le-ping/p/7788973.html
评论(0)