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

Switch to Threaded View
Pig >> mail # user >> Custom storage function on python

Copy link to this message
Re: Custom storage function on python
Right now load and store functions have to be in Java.  I am not aware of any existing store functions that write to a socket.  


On Jun 28, 2012, at 6:15 AM, Fernando Doglio wrote:

> Hello everyone, I've been toying around the idea of sending the output of
> my pig scripts to Carbon and from there, create some graphs using Graphite.
> Right now, what I'm doing, is streaming that output to a python script,
> which in turn sends that information to the correct socket (the one Carbon
> is listening to).
> Is there another way? I was thinking about writing a custom storage
> function on python, but all I could find about custom storage functions is
> in Java.. is it not possible to write one in python?
> Maybe there is already a storage function that can take care of this?
> Has anyone experimented with this before?
> Thanks in advance!
> Fernando