-Re: Timeout for an EvalFunc UDF
Dmitriy Ryaboy 2012-06-01, 09:04
On May 31, 2012, at 10:12 AM, Alan Gates <[EMAIL PROTECTED]> wrote:
> Take a look at MonitoredUDF, http://pig.apache.org/docs/r0.9.2/udf.html search on MonitoredUDF.
> On May 31, 2012, at 6:46 AM, Ahmed Sobhi wrote:
>> I'm trying to write an EvalFunc UDF... I know that in some rare cases my
>> data will cause my udf to take forever... for such cases, I want the udf to
>> just ignore these cases so I was thinking about having my logic timeout
>> Is there any easy way I can do this?
>> I know that timeouts would require the use of threads so I'm not sure if
>> that would be ok or not. Can anyone provide more info on that?
>> Best Regards,
>> Ahmed Sobhi