return apiService;
}
@Override
public boolean isServiceStarted(String clusterName, String serviceName) throws AmbariApiException {
ApiService service = readService(clusterName, serviceName);
String serviceState = service.getServiceInfo().getState();
return ApiServiceStatus.STARTED.name().equalsIgnoreCase(serviceState);
}