Fix a task process never start issue
This commit is contained in:
Родитель
dce83ae2de
Коммит
1899baafec
|
@ -552,6 +552,11 @@ namespace hpc
|
|||
"Fix a resync failure issue, caused job stuck in running",
|
||||
}
|
||||
},
|
||||
{ "2.1.6.0",
|
||||
{
|
||||
"Fix the task process never start issue",
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
return versionHistory;
|
||||
|
|
|
@ -51,7 +51,7 @@ std::string NamingClient::GetServiceLocation(const std::string& serviceName)
|
|||
}
|
||||
}
|
||||
|
||||
Logger::Debug("ResolveServiceLocation> Resolved serviceLocation {1} for {0}", location->second, serviceName);
|
||||
Logger::Info("ResolveServiceLocation> Resolved serviceLocation {1} for {0}", location->second, serviceName);
|
||||
return location->second;
|
||||
}
|
||||
|
||||
|
|
|
@ -145,6 +145,7 @@ pplx::task<json::value> RemoteExecutor::StartTask(StartTaskArgs&& args, std::str
|
|||
auto jobUser = this->jobUsers.find(args.JobId);
|
||||
if (jobUser == this->jobUsers.end())
|
||||
{
|
||||
this->jobTaskTable.RemoveJob(args.JobId);
|
||||
throw std::runtime_error(String::Join(" ", "Job", args.JobId, "was not started on this node."));
|
||||
}
|
||||
else
|
||||
|
|
Загрузка…
Ссылка в новой задаче