}
@Test
public void testTwoStandalone() throws Exception {
HadoopClusterManager manager = HadoopClusterManager.getInstance();
HadoopCluster cluster1 = manager.getCluster(new ClusterInfo("def", 1));
HadoopCluster cluster2 = manager.getCluster(new ClusterInfo("def", 2));
cluster1.start();
cluster2.start();
Configuration configuration1 = cluster1.getConfiguration();
Configuration configuration2 = cluster2.getConfiguration();
assertThat(getHdfsUrl(configuration1), startsWith("hdfs"));
assertThat(getHdfsUrl(configuration2), startsWith("hdfs"));
String fsUri1 = getHdfsUrl(configuration1);
String fsUri2 = getHdfsUrl(configuration2);