public void setIsGuaranteed(boolean isGuaranteed) {
    this.isGuaranteed = isGuaranteed;
    if (amNodeInfo != null) {
      amNodeInfo.updateTaskAttempt(taskSpec.getTaskAttemptID(), isGuaranteed);
    }
    if (wmCounters != null) {
      wmCounters.changeGuaranteed(isGuaranteed);
    }
  }
Inform the AM that this task has been killed.
llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/TaskRunnerCallable.java