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

 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号