pig-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmed Sobhi <ahmed.so...@gmail.com>
Subject Re: Timeout for an EvalFunc UDF
Date Fri, 01 Jun 2012 11:24:54 GMT
Thnx Alan... it seems like what I exactly need... gonna give it a try :)

On Thu, May 31, 2012 at 7:12 PM, Alan Gates <gates@hortonworks.com> wrote:

> Take a look at MonitoredUDF, http://pig.apache.org/docs/r0.9.2/udf.htmlsearch on MonitoredUDF.
>
> Alan.
>
> On May 31, 2012, at 6:46 AM, Ahmed Sobhi wrote:
>
> > Hi,
> >
> > 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
> > somehow.
> >
> > 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
> > http://about.me/humanzz/bio
>
>


-- 
Best Regards,
Ahmed Sobhi
http://about.me/humanzz/bio

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message