private JobExecution addNewExecution(TuningInput tuningInput) {
    JobDefinition jobDefinition = getJobDefinition(tuningInput);
    FlowExecution flowExecution = getFlowExecution(tuningInput);

    JobExecution jobExecution = new JobExecution();
    jobExecution.jobExecId = tuningInput.getJobExecId();
    jobExecution.jobExecUrl = tuningInput.getJobExecUrl();
    jobExecution.job = jobDefinition;
    jobExecution.executionState = ExecutionState.IN_PROGRESS;
    jobExecution.flowExecution = flowExecution;
    jobExecution.save();
    return jobExecution;
  }
Creates a new job execution entry corresponding to the given tuning input
@param tuningInput Input corresponding to which job execution is to be created
@return JobExecution: the newly created job execution
app/com/linkedin/drelephant/tuning/AutoTuningAPIHelper.java