Author: justi9
Date: 2010-08-27 12:24:11 -0400 (Fri, 27 Aug 2010)
New Revision: 4239
Modified:
mgmt/newdata/cumin/python/cumin/grid/submission.py
Log:
Pursuant to bz 618243, add a set of standard job attributes; include DiskUsage = 0
Modified: mgmt/newdata/cumin/python/cumin/grid/submission.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/grid/submission.py 2010-08-26 22:27:13 UTC (rev 4238)
+++ mgmt/newdata/cumin/python/cumin/grid/submission.py 2010-08-27 16:24:11 UTC (rev 4239)
@@ -288,6 +288,7 @@
put("Err", stderr)
put("UserLog", usrlog)
+ ad.update(standard_job_attributes)
ad.update(attrs)
descriptors = dict()
@@ -557,6 +558,7 @@
# Extra attributes
+ ad.update(standard_job_attributes)
ad.update(attrs)
# Descriptors
@@ -684,6 +686,7 @@
ad["Environment"] = " ".join(vars)
+ ad.update(standard_job_attributes)
ad.update(attrs)
descriptors = dict()
@@ -746,6 +749,10 @@
def render_title(self, session):
return "DAG file location"
+standard_job_attributes = {
+ "DiskUsage": 0,
+ }
+
def log_job_ad(ad):
log.debug("Job ad:")
Show replies by date