@Override
  public RequestStatus deleteResources(Type type, Request request, Predicate predicate)
      throws UnsupportedPropertyException,
             SystemException,
             NoSuchResourceException,
             NoSuchParentResourceException {

    ResourceProvider provider = ensureResourceProvider(type);
    if (provider != null) {
      if (!checkProperties(type, null, predicate)) {
        predicate = resolvePredicate(type, predicate);
        if (predicate == null) {
          return null;
        }
      }
      return provider.deleteResources(request, predicate);
    }
    return null;
  }
Check whether properties specified with a @SortRequest are supported by
the @ResourceProvider.

@param sortRequest @SortRequest
@param type @Type
@param provider @ResourceProvider
@throws UnsupportedPropertyException
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterControllerImpl.java