Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] Added Err and Out classads and submitting via web service: not being set
- Date: Mon, 2 May 2011 17:27:49 -0400 (EDT)
- From: Anna Aquino <anna.aquino@xxxxxxxxxxxx>
- Subject: [Condor-users] Added Err and Out classads and submitting via web service: not being set
Sorry for the duplicate, accidentally hit enter key and sent prior to completing.
I am attempting to set the sterr and stout file names as classads, but they are not included in the job's classad when submitting via web service. It is difficult to troubleshoot a job that fails without these files. Other classads and custom classads are added successfully.
As an example, in java the following is added to the ClassAdStruct
jobAd.getItem().add(classAdHelper.createAttribute("Out", "Out_test.out", ClassAdAttrType.STRING_ATTR));
where the classAdHelper merely creates the attribute in this case:
public ClassAdStructAttr createAttribute(String name, String value, ClassAdAttrType type) {
ClassAdStructAttr attribute = new ClassAdStructAttr();
attribute.setName(name);
attribute.setValue(value);
attribute.setType(type);
return attribute;
}
The classad of the job indicates:
Out = "/dev/null"
Err = "/dev/null"
We are submitting through a single schedd and would like the out/err files transferred back to that box.
Appreciate any feedback.