try {
//todo: the below method throws an exception when trying to create a duplicate mapping.
//todo: this is done to detect duplicates during host create. Unless it is allowable to
//todo: add a host to a cluster by modifying the cluster_name prop, we should not do this mapping here.
//todo: Determine if it is allowable to associate a host to a cluster via this mechanism.
clusters.mapHostToCluster(request.getHostname(), request.getClusterName());
} catch (DuplicateResourceException e) {
// do nothing
}
if (null != request.getHostAttributes())