hadoop map reduce程序,注意引入FileOutputFormat類和FileInputFormat類

 

寫map reduce程序時,引入apache

FileOutputFormat類時,必須注意,必定是:
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;

同時oop

FileInputFormat也是同樣,必須是
org.apache.hadoop.mapreduce.lib.input.FileInputFormat;

相關文章
相關標籤/搜索