[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Exit hook not getting the job classAds

Have you tried any other versions of condor? There's a change that went into 7.2.3 that is causing the issue you describe to occur with the reply and status hooks, but I haven't witnessed it (yet) occurring with the exit hook.


Johnson koil Raj wrote:
Hi Robert,

   I am using condor-7.2.3 version.

   I tried with your code but no luck.


Robert Rati wrote:
What version of condor are you using?  I'm able to run an exit script of:

#!/usr/bin/perl -w

use strict;

my @in = <STDIN>;

foreach (@in)
   `logger -t test_exit $_`;

And I see the job classad in the system log file.


Johnson koil Raj wrote:

I am using prepare hook in my pool which working fine but the exit hook is not so. I am not able to get the jobclassAds by the same script which is used for prepare hook.

In my prepare hook script is I use  following to get jobclassAd
my @classad = <STDIN>;

In exit hook I am only getting job exit reason as command line argument. When I tried to print size of @classad it is 0.


Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: https://lists.cs.wisc.edu/archive/condor-users/