Make job id part of the task execution id

This commit is contained in:
Evan Cui 2018-09-25 14:13:01 +08:00
Родитель c00987ffc0
Коммит c285d0f12f
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -34,7 +34,7 @@ Process::Process(
std::vector<uint64_t>&& cpuAffinity,
std::map<std::string, std::string>&& envi,
const std::function<Callback> completed) :
jobId(jobId), taskId(taskId), requeueCount(requeueCount), taskExecutionId(String::Join("_", taskExecutionName, taskId, requeueCount)),
jobId(jobId), taskId(taskId), requeueCount(requeueCount), taskExecutionId(String::Join("_", taskExecutionName, jobId, taskId, requeueCount)),
commandLine(cmdLine), stdOutFile(standardOut), stdErrFile(standardErr), stdInFile(standardIn),
workDirectory(workDir), userName(user.empty() ? "root" : user), dockerImage(envi["CCP_DOCKER_IMAGE"]), dumpStdout(dumpStdoutToExecutionMessage),
affinity(cpuAffinity), environments(envi), callback(completed), processId(0)
@ -655,4 +655,4 @@ std::string Process::PeekOutput()
}
return output;
}
}