You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Abhijit Pol <ap...@rocketfuelinc.com> on 2009/09/25 23:19:05 UTC

hive UDFs with distributed cache

Is it possible to write a hive UDF that has an access to distributed cache
OR a way to look up information from a file in an evaluate function?
Are there any examples around?

Thanks,
Abhi

Re: hive UDFs with distributed cache

Posted by Jeff Hammerbacher <ha...@cloudera.com>.
Hey Abhi,
You could drop into MapReduce and do the access to DistributedCache using
the standard Java APIs. There may be a cleaner way, but that should be
possible.

Regards,
Jeff

On Fri, Sep 25, 2009 at 2:19 PM, Abhijit Pol <ap...@rocketfuelinc.com> wrote:

> Is it possible to write a hive UDF that has an access to distributed cache
> OR a way to look up information from a file in an evaluate function?
> Are there any examples around?
>
> Thanks,
> Abhi
>