/Begi*MapReduce 第 1 关:成绩统计过关代码 importjava
IOException;importjava
StringTokenizer;importjava
IOException;importjava
StringTokenizer;importorg
apache
hadoop
Configuration;importorg
apache
hadoop
Path;importorg
apache
hadoop
*;importorg
apache
hadoop
Text;importorg
apache
hadoop
mapreduce
Job;importorg
apache
hadoop
mapreduce
Mapper;importorg
apache
hadoop
mapreduce
Reducer;importorg
apache
hadoop
mapreduce
FileInputFormat;importorg
apache
hadoop
mapreduce
output
FileOutputFormat;importorg
apache
hadoop
GenericOptionsParser;publicclassWordCount{publicstaticclassTokenizerMapperextendsMapper{privatefinalstaticIntWritableone=newIntWritable(1);privateTextword=newText();privateintmaxValue=0;publicvoidmap(LongWritablekey,Textvalue,Contextcontext)thro