[Swift-devel] coaster workers not receiving enough jobs
Mihael Hategan
hategan at mcs.anl.gov
Thu Jul 23 11:49:33 CDT 2009
On Thu, 2009-07-23 at 11:40 -0500, Allan Espinosa wrote:
> Some lines in coasters.log i find intersting:
> 2009-07-23 11:12:06,065-0500 DEBUG TaskImpl Task(type=JOB_SUBMISSION,
> identity=urn:1248364974290-1248364979263-1248364979264) setting status
> to Failed Block ta
> sk failed: 0723-021156-000001Block task ended prematurely
>
> Statement unlikely to be reached at
> /home/aespinosa/.globus/coasters/cscript15423.pl line 580.
> (Maybe you meant system() when you said exec()?)
>
I think perl is being extra-cautios there. The sequence of commands is
the following:
exec { $executable } @JOBARGS;
print $WR "Could not execute $executable: $!\n";
die "Could not execute $executable: $!";
If exec succeeds, the print statement is indeed unreachable. However, it
is there to deal with the case when exec doesn't succeed.
There are ways to write it to avoid that warning, but that warning isn't
indicative of an actual problem here.
More information about the Swift-devel
mailing list