public static void run(Configuration conf, String matrix,
			String inputCenters, String airportList) throws IOException, InterruptedException, ClassNotFoundException, URISyntaxException {
		String mapInput = airportList;
		String reduceOutput = airportList + "Xcenters/centers0";
		String centerFile = inputCenters;
		int i = 0;
		while(true)
		{
			System.out.println("Iteration " + i);
			if (RunKMedoidsJob(conf, mapInput, reduceOutput, centerFile, matrix))
				break;
			centerFile = reduceOutput;
			reduceOutput = reduceOutput.substring(0, reduceOutput.length()-1) + i;
			i++;
		}
	}