class ClusterImpl implements Cluster {

  @Override
  public List<String> getHostsForServiceComponent(String serviceName, String componentName){
    List<ServiceComponentHost> serviceComponentHosts = cluster.getServiceComponentHosts(serviceName, componentName);
    List<String> hosts = new ArrayList<>();
    for (ServiceComponentHost serviceComponentHost : serviceComponentHosts) {
      hosts.add(serviceComponentHost.getHostName());
    }
    return hosts;
  }

  public  ClusterImpl(org.apache.ambari.server.state.Cluster cluster);

}