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

Switch to Plain View
Pig, mail # user - Custom storage function on python


+
Fernando Doglio 2012-06-28, 13:15
Copy link to this message
-
Re: Custom storage function on python
Alan Gates 2012-06-28, 20:48
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.  

Alan.

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