public void setWmContext(final WmContext wmContext) {
    this.wmContext = wmContext;
  }
Mark session as being in use from TezTask, for safety/debugging purposes.
ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java