Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> config/reference data files  for UDFS


Copy link to this message
-
Re: config/reference data files for UDFS
Sorry, copy paste error.  Let's try that again:

http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/builtin/Bloom.java?view=markup

Alan.

On Mar 13, 2012, at 1:55 PM, Stan Rosenberg wrote:

> Hi Alan,
>
> I am also curious to see how the distributed cache is used in a UDF.
> However, the code you reference in the patch doesn't appear to contain
> such an example.  What is the name of source file?
>
> Thanks,
>
> stan
>
> On Mon, Mar 12, 2012 at 7:24 PM, Alan Gates <[EMAIL PROTECTED]> wrote:
>> Take a look at the builtin UDF Bloom (you can see the code at https://issues.apache.org/jira/secure/attachment/12518116/HCATALOG-289-2.patch ) for an example of how to use the distributed cache from a UDF.
>>
>> Alan.
>>
>> On Mar 9, 2012, at 3:17 PM, Sam William wrote:
>>
>>> I want to read a  small reference data file from a UDF.  How do I make use of the distributed cache  for this purpose ?
>>>
>>>
>>> Sam William
>>> [EMAIL PROTECTED]
>>>
>>>
>>>
>>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB