You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Russell Jurney <ru...@gmail.com> on 2011/12/28 19:45:55 UTC

Illustrate Data in PigStats

I want to recreate PigPen as a web app. Can to has Illustrate or some
kind of sample records in PigStats? That is all that is missing to
make this trivial.

Looking at this:
http://pig.apache.org/docs/r0.8.1/api/org/apache/pig/tools/pigstats/PigStats.html

Russell Jurney
twitter.com/rjurney
russell.jurney@gmail.com
datasyndrome.com

Re: Illustrate Data in PigStats

Posted by Alan Gates <ga...@hortonworks.com>.
In o.a.p.scripting check out the Pig and BoundScript classes.  These are designed for use with scripting languages, but can be used equally well with Java.  After you have bound a script with the Pig object, you can call illustrate on it.

Alan.

On Dec 29, 2011, at 4:55 PM, Russell Jurney wrote:

> Maybe illustrate isn't the right word, but what I want are sample records
> from the job.
> 
> Regarding illustrate, is there a way to fire illustrate through an API?
> That way I can get at it with a web app.  Parsing grunt is way hackish.
> 
> On Thursday, December 29, 2011, Dmitriy Ryaboy <dv...@gmail.com> wrote:
>> I am not sure what you mean. You can just replace all stores with
>> illustrates and run the job, right? It's too late to be generating
> previews
>> when you've already payed the cost of running the whole job...
>> 
>> On Wed, Dec 28, 2011 at 10:45 AM, Russell Jurney
>> <ru...@gmail.com>wrote:
>> 
>>> I want to recreate PigPen as a web app. Can to has Illustrate or some
>>> kind of sample records in PigStats? That is all that is missing to
>>> make this trivial.
>>> 
>>> Looking at this:
>>> 
>>> 
> http://pig.apache.org/docs/r0.8.1/api/org/apache/pig/tools/pigstats/PigStats.html
>>> 
>>> Russell Jurney
>>> twitter.com/rjurney
>>> russell.jurney@gmail.com
>>> datasyndrome.com
>>> 
>> 
> 
> -- 
> Russell Jurney
> twitter.com/rjurney
> russell.jurney@gmail.com
> datasyndrome.com


Re: Illustrate Data in PigStats

Posted by Russell Jurney <ru...@gmail.com>.
Maybe illustrate isn't the right word, but what I want are sample records
from the job.

Regarding illustrate, is there a way to fire illustrate through an API?
 That way I can get at it with a web app.  Parsing grunt is way hackish.

On Thursday, December 29, 2011, Dmitriy Ryaboy <dv...@gmail.com> wrote:
> I am not sure what you mean. You can just replace all stores with
> illustrates and run the job, right? It's too late to be generating
previews
> when you've already payed the cost of running the whole job...
>
> On Wed, Dec 28, 2011 at 10:45 AM, Russell Jurney
> <ru...@gmail.com>wrote:
>
>> I want to recreate PigPen as a web app. Can to has Illustrate or some
>> kind of sample records in PigStats? That is all that is missing to
>> make this trivial.
>>
>> Looking at this:
>>
>>
http://pig.apache.org/docs/r0.8.1/api/org/apache/pig/tools/pigstats/PigStats.html
>>
>> Russell Jurney
>> twitter.com/rjurney
>> russell.jurney@gmail.com
>> datasyndrome.com
>>
>

-- 
Russell Jurney
twitter.com/rjurney
russell.jurney@gmail.com
datasyndrome.com

Re: Illustrate Data in PigStats

Posted by Russell Jurney <ru...@gmail.com>.
Maybe illustrate isn't the right word, but what I want are sample records
from the job.

Regarding illustrate, is there a way to fire illustrate through an API?
 That way I can get at it with a web app.  Parsing grunt is way hackish.

On Thursday, December 29, 2011, Dmitriy Ryaboy <dv...@gmail.com> wrote:
> I am not sure what you mean. You can just replace all stores with
> illustrates and run the job, right? It's too late to be generating
previews
> when you've already payed the cost of running the whole job...
>
> On Wed, Dec 28, 2011 at 10:45 AM, Russell Jurney
> <ru...@gmail.com>wrote:
>
>> I want to recreate PigPen as a web app. Can to has Illustrate or some
>> kind of sample records in PigStats? That is all that is missing to
>> make this trivial.
>>
>> Looking at this:
>>
>>
http://pig.apache.org/docs/r0.8.1/api/org/apache/pig/tools/pigstats/PigStats.html
>>
>> Russell Jurney
>> twitter.com/rjurney
>> russell.jurney@gmail.com
>> datasyndrome.com
>>
>

-- 
Russell Jurney
twitter.com/rjurney
russell.jurney@gmail.com
datasyndrome.com

Re: Illustrate Data in PigStats

Posted by Dmitriy Ryaboy <dv...@gmail.com>.
I am not sure what you mean. You can just replace all stores with
illustrates and run the job, right? It's too late to be generating previews
when you've already payed the cost of running the whole job...

On Wed, Dec 28, 2011 at 10:45 AM, Russell Jurney
<ru...@gmail.com>wrote:

> I want to recreate PigPen as a web app. Can to has Illustrate or some
> kind of sample records in PigStats? That is all that is missing to
> make this trivial.
>
> Looking at this:
>
> http://pig.apache.org/docs/r0.8.1/api/org/apache/pig/tools/pigstats/PigStats.html
>
> Russell Jurney
> twitter.com/rjurney
> russell.jurney@gmail.com
> datasyndrome.com
>