Commit d07a22b5 authored by Costin Grigoras's avatar Costin Grigoras
Browse files

Add a trace line to know where the masterjob was inserted from

parent 586edb46
......@@ -1501,7 +1501,8 @@ public class TaskQueueUtils {
if (jdl.get("MemorySize") == null)
jdl.set("MemorySize", (8 * cpuCores.intValue()) + "GB");
/* Disable setting a default value since the legacy services don't know about the CPUCores-based default
/*
* Disable setting a default value since the legacy services don't know about the CPUCores-based default
* if (jdl.get("WorkDirectorySize") == null)
* jdl.set("WorkDirectorySize", (10 * cpuCores.intValue()) + "GB");
*/
......@@ -1766,6 +1767,7 @@ public class TaskQueueUtils {
setAction(jobStatus);
putJobLog(pid.longValue(), "trace", "Job inserted by " + ConfigUtils.getLocalHostname() + ", request came from " + clientAddress, null);
putJobLog(pid.longValue(), "state", "Job state transition to " + jobStatus.toString(), null);
return pid.longValue();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment