@Override
      public Void invoke() throws AmbariException, AuthorizationException {
        getManagementController().createCluster(getRequest(properties));
        return null;
      }
Create the cluster resource.

@param properties  cluster resource request properties

@throws ResourceAlreadyExistsException  cluster resource already exists
@throws SystemException                 an unexpected exception occurred
@throws NoSuchParentResourceException   shouldn't be thrown as a cluster doesn't have a parent resource
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterResourceProvider.java