code: void blacklistNode(String nodeName, ResourceType resourceType) {
      LOG.info("Node " + nodeName + " has been blacklisted for resource " +
        resourceType);
      clusterManager.getMetrics().setBlacklistedNodes(
          faultManager.getBlacklistedNodeCount());
      deleteAppFromNode(nodeName, resourceType);
    }
docs: Blacklist a resource on a node.
  @param nodeName The node name
  @param resourceType The resource type.