TupleMRBuilder mr = new TupleMRBuilder(conf,"Pangool Url Resolution");
mr.addIntermediateSchema(new Schema("urlMap", urlMapFields));
mr.addIntermediateSchema(new Schema("urlRegister", urlRegisterFields));
mr.setGroupByFields("url");
mr.setTupleReducer(new Handler());
mr.setOutput(new Path(output), new HadoopOutputFormat(TextOutputFormat.class), Text.class, NullWritable.class);
mr.addInput(new Path(input1), new HadoopInputFormat(TextInputFormat.class), new UrlMapProcessor());
mr.addInput(new Path(input2), new HadoopInputFormat(TextInputFormat.class), new UrlProcessor());
mr.createJob().waitForCompletion(true);
return 1;