jobconf.set("mapred.output.dir", "output");
jobconf.setMapperClass(InfiniDoopMapper.class);
jobconf.setNumMapTasks(1);
jobconf.setNumReduceTasks(2);
JobClient client = new JobClient();
//System.out.println(jobconf.getUser());
//System.out.println(FileOutputFormat.getOutputPath(jobconf));
jobconf.setInt("mapred.min.split.size", 2147483647);
//int i = (job.waitForCompletion(true)? 1: 0);
//return i;
client.setConf(jobconf);
try {
JobClient.runJob(jobconf);
} catch (Exception e) {
e.printStackTrace();
}