} else {
// HBase 0.95.x returns a MR cluster, and we have to manually
// copy the job tracker address into our configuration
MiniMRCluster mrCluster = (MiniMRCluster)startMrClusterMethod.invoke(hbaseTestUtil);
Configuration conf = hbaseTestUtil.getConfiguration();
conf.set("mapred.job.tracker", mrCluster.createJobConf().get("mapred.job.tracker"));
}
}
public static File substituteZkHost(File file, String zkConnectString) throws IOException {
String str = Files.toString(file, Charsets.UTF_8);