Couple of things to look at:
1. is the machine with the long running task thrashing?
if so, you might look into if too many tasks (each being a jvm) are spawned concurrently or
if your aggregate memory requirements across jvm's is too high.
2. does your task include a long running function call?
in our use, we do have certain udf's that can take a long time since they, as well as the data
is complex. for such cases, we wrap such suspect functions with "timeout", to make sure a given
expression does not exceed a certain time limit. If such a limit is reached, an exception is thrown.
if you want your task to continue after such an exception, you can place a "catch" in jaql around
timeout, which will let you control whether to continue with the computation or not. the docs for
these builtin functions has been updated, please look for "timeout" and "catch" here:
http://code.google.com/p/jaql/wiki/Builtin_functionsLets see if either of these help your situation, and if not, we can explore further.
Vuk