public void setTaskError(Throwable taskError) {
    this.taskError = taskError;
  }
TaskResult implementation.
Note that different threads may be reading/writing this object
ql/src/java/org/apache/hadoop/hive/ql/exec/TaskResult.java