protected Cluster findCluster(String name) {
    Cluster cluster = null;
    try {
      cluster = name == null ? null : getCluster(name);
    } catch (AmbariException e) {
      // do nothing
    }
    return cluster;
  }
Find the cluster for the given name.

@param name  the cluster name

@return the cluster for the given name; null if the cluster can not be found
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClustersImpl.java