@Override
  public String getUserName() {
    return userName;
  }
Called from TezTask to attach a TezSession to use to the threadlocal. Ugly pattern...
ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java