1:wrong value class: class org.apache.hadoop.io.Text is not class org.apache.hadoop.io.IntWritableclasapache
解決:setCombinerClass 和reduce的類型不一直。注掉setCombinerClassapp
job.setMapperClass(Map.class);oop
job.setReducerClass(Reduce.class); spa
// job.setCombinerClass(Reduce.class); hadoop