public static void main(String[] args) {
		JobClient client = new JobClient();
		JobConf conf = new JobConf(WordCountDriver.class);
		
		conf.setOutputKeyClass(Text.class);
		conf.setOutputValueClass(Text.class);

		FileInputFormat.setInputPaths(conf, new Path(args[0]));
		FileOutputFormat.setOutputPath(conf, new Path(args[1]));
		
		// Specify a mapper
		conf.setMapperClass(WordCountMapper.class);

		// Specify a reducer
		conf.setReducerClass(WordCountReducer.class);

		client.setConf(conf);
		try {
			JobClient.runJob(conf);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}