@Override
  public void setTaskProperty(String queryId, String taskId, Keys propName,
      String propValue) {
    String id = queryId + ":" + taskId;
    TaskInfo ti = taskInfoMap.get(id);
    if (ti == null) {
      return;
    }
    ti.hm.put(propName.name(), propValue);
  }
Write the a history record to history file.

@param rt
@param keyValMap
ql/src/java/org/apache/hadoop/hive/ql/history/HiveHistoryImpl.java