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 >> calling Pig programatically


Copy link to this message
-
Re: calling Pig programatically
Few more details on PigServer are here:
 http://wiki.apache.org/pig/EmbeddedPig

On Sat, Oct 16, 2010 at 11:18, zaki rahaman <[EMAIL PROTECTED]> wrote:
> You can embed Pig in Java...
>
> http://pig.apache.org/docs/r0.7.0/setup.html#Sample+Code
>
>
>
> On Sat, Oct 16, 2010 at 1:57 PM, Anze <[EMAIL PROTECTED]> wrote:
>
>> Hi all!
>>
>> I'm trying to create a replacement for Pig shell - for running Pig batches
>> from within our control program (dashboard). I'm having problems with
>> calling
>> Pig and would appreciate some help.
>>
>> I have checked all over the net and have also found this:
>> http://pig.apache.org/docs/r0.7.0/piglatin_ref1.html#Running+Pig+Latin
>>
>> Is it possible to call some "pig executor" directly, without resorting to
>> hacks (writing program to txt file and running pig shell/grunt on it)?
>>
>> It seems like a very basic thing. Am I missing something?
>>
>> Thank you!
>>
>> Kind regards,
>>
>> Anze
>>
>>
>
>
> --
> Zaki Rahaman
>
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