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

Re: [Condor-users] Newbie question about Perl programs

On 3/21/06, Erik Paulson <epaulson@xxxxxxxxxxx> wrote:
> On Tue, Mar 21, 2006 at 06:41:56PM +0000, Matt Hope wrote:
> Actually, the biggest reason is we can use the wrapper to distinguish
> between failures of the Java interperter and of the job. If we just look
> at the return from waitpid() we don't know if it's because of a segfault
> in /usr/bin/java, or a Null Pointer Exception in userjob.class. The
> wrapper class lets us figure that out. If the job fails because /usr/bin/java
> crashed, we re-run the job. If the job exited with a Null Pointer Excption,
> it leaves the queue.

Ah yes - I forgot about that one sorry. For the nebulous 'script'
universe I described you would prob need to have a way of determining
whether script engine failures[1] were deemed to be complete failures.


[1] and how you distinguish them