public static void main(String[] args) throws Exception{
// TODO Auto-generated method stub
if(args.length != 2){
System.out.println("最高温度的输入路径和输出路径");
System.exit(-1);
}
Job job = new Job();
job.setJarByClass(MaxTemperature.class);
job.setJobName("Max temperature");
//这里的输入和输出地址,自定义
FileInputFormat.addInputPath(job, new Path("D://BaiduYunDownload//CentOS下配置SSL.doc"));
FileOutputFormat.setOutputPath(job, new Path("D://BaiduYunDownload"));