hadoop FileInputFormat.addInputPath无法加入job类

hadoop FileInputFormat.addInputPath无法加入job类

2014-10-18 10:14 银狐丶Summit | 浏览 299 次

eclipse提示"The method addInputPath(JobConf, Path) in the type FileInputFormat is not applicable 

 for the arguments (Job, Path)"

请问该怎么解决

 
2014-10-18 13:22 提问者采纳
 
你是用的是旧版mapreduceAPI,在mapred包下的,需修改成mapreduce包下的FileInputFormat
posted @ 2015-11-02 10:38  Q_Quan  阅读(454)  评论(0)    收藏  举报