public void setConfigurationOnCluster(final ClusterRequest clusterRequest) {
    try {
      RetryHelper.executeWithRetry(new Callable<Object>() {
        @Override
        public Object call() throws Exception {
          getController().updateClusters(Collections.singleton(clusterRequest), null,
              false, false);
          return null;
        }
      });
    } catch (AmbariException e) {
      LOG.error("Failed to set configurations on cluster: ", e);
      throw new RuntimeException("Failed to set configurations on cluster: " + e, e);
    }
  }
Persist cluster state for the ambari UI.  Setting this state informs that UI that a cluster has been
installed and started and that the monitoring screen for the cluster should be displayed to the user.

@param clusterName  cluster name
@param stackName    stack name
@param stackVersion stack version
ambari-server/src/main/java/org/apache/ambari/server/topology/AmbariContext.java