public void setWmPendingFailed(boolean requestedGuaranteed) {
    if (requestedGuaranteed) {
      wmGuaranteedPendingCount.incr(-1);
      wmSpeculativeCount.incr();
    } else {
      wmSpeculativePendingCount.incr(-1);
      wmGuaranteedCount.incr();
    }
  }
Metrics about the llap task scheduler.
llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/metrics/LlapTaskSchedulerMetrics.java