1.job.setOutputFormatClass(TextOutputFormat.class);
TextOutputFormat的为新的API中org.apache.hadoop.mapreduce.lib.output.TextOutputFormat
2.FileOutputFormat.setOutputPath(job, tempIndexPath);
FileOutputFormat为新api中的 org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;