摘要: 报错信息 17/07/06 17:00:27 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.17/0 阅读全文
posted @ 2017-07-06 17:06 酷比的天朝纸民 阅读(2604) 评论(0) 推荐(0) 编辑
摘要: 原我是这样写的 //输入数据所在的文件目录 FileInputFormat.addInputPath(job, new Path("/input/")); //mapreduce执行后输出数据目录 FileOutputFormat.setOutputPath(job, new Path("/outp 阅读全文
posted @ 2017-07-06 16:50 酷比的天朝纸民 阅读(5387) 评论(0) 推荐(0) 编辑
摘要: Text的包导错了 不是:import com.sun.jersey.core.impl.provider.entity.XMLJAXBElementProvider.Text; 而是:import org.apache.hadoop.io.Text; 阅读全文
posted @ 2017-07-06 16:42 酷比的天朝纸民 阅读(548) 评论(0) 推荐(0) 编辑