public static void main(String[] args) {
		String jobId = "job_201210172333_0008";
		String hostname = "m105";

		boolean needMetrics = true; // going to analyze task
									// counters/metrics/jvm?
		int sampleMapperNum = 1;
		int sampleReducerNum = 1;

		SingleJobProfiler profiler = new SingleJobProfiler(hostname, jobId,
				needMetrics, sampleMapperNum, sampleReducerNum);

		Job job = profiler.profile();

		profile.commons.configuration.Configuration newConf = job.getJobConfiguration();

		long minSplit = 256 * 1024 * 1024l;
		long maxSplit = Long.MAX_VALUE;

		newConf.set("mapred.input.dir", "hdfs://m105:9000/LijieXu/terasort-4GB");
		newConf.set("mapred.min.split.size", String.valueOf(minSplit));
		newConf.set("mapred.max.split.size", String.valueOf(maxSplit));

		List<InputSplit> inputSplits = getSplits(newConf);

		try {
			if (inputSplits != null) {
				for (InputSplit is : inputSplits) {
					System.out.println(is.getLength());
				}
			}
		} catch (IOException e) {
			e.printStackTrace();
		} catch (InterruptedException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}