public void setCanFinishForPriority(boolean value) {
    canFinishForPriority = value;
  }
This MUST be called when the fragment is NOT in wait queue.
llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/QueryFragmentInfo.java