Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - Adding files to distributed cache


Copy link to this message
-
Re: Adding files to distributed cache
Mark Wagner 2013-06-25, 23:45
Hi Phanish,

EvalFuncs can implement getCacheFiles to register files that should be
included in distributed cache:
http://pig.apache.org/docs/r0.11.1/api/org/apache/pig/EvalFunc.html#getCacheFiles()

-Mark
On Tue, Jun 25, 2013 at 11:37 AM, Phanish Lakkarasu <
[EMAIL PROTECTED]> wrote:

> Hello,
>
> How can I add multiple files to distributed cache in pig UDF.
>
> Regards
> Abhi
>