throws IOException, GFacHandlerException, ConfigurationException, InterruptedException, TransformerException, ParserConfigurationException {
ClusterSpec hadoopClusterSpec =
whirrConfigurationToClusterSpec(hostDescription, workingDirectory);
ClusterController hadoopClusterController =
createClusterController(hadoopClusterSpec.getServiceName());
Cluster hadoopCluster = hadoopClusterController.launchCluster(hadoopClusterSpec);
logger.info(String.format("Started cluster of %s instances.\n",
hadoopCluster.getInstances().size()));
File siteXML = new File(workingDirectory, "hadoop-site.xml");