code: void setParams(String hostID, TaskRecord taskRecord) {
          m_hostID = hostID;
          m_taskRecord = taskRecord;
          assert m_taskRecord.getTaskID().equals(getTaskID());
      }
docs: Set the execution parameters for this task. This method is called by the
  {@link TaskManagerService} immediately after constructing the job object.
  
  @param hostID        Identifier of the executing node (IP address).
  @param taskRecord    {@link TaskRecord} containing the task's current execution
  properties from the Tasks table. This record is updated and
  persisted as task execution proceeds.