AFAIK you can submit a pig job to the Hadoop job server via the pig command 
line interface. If you have not done so already have a read of the Hadoop Book 
it discusses pig as well  
http://bit.ly/9gGRyH

Not sure how you go about monitoring the hadoop job though.

There is support for hadoop to output to Cassandra, not sure if this has made 
it into the pig code (am on iPad now)   See 
http://wiki.apache.org/cassandra/HadoopSupport

Aaron

On 6 Oct 2010, at 21:35, Jeff Zhang <zjf...@gmail.com> wrote:

> Pig do not have thrift interface, But I believe you can create it. And
> another way I think is create a web service for your pig service, and
> call the web service in your php.
> 
> 
> 
> On Wed, Oct 6, 2010 at 4:17 PM, Petr Odut <petr.o...@gmail.com> wrote:
>> Hi,
>> PHP: I basicaly need to start pig program from a php script (via thrift or
>> something..?)
>> PIG: there is a LoadFunc that loads data from Cassandra, is there also a
>> StoreFunc?
>> 
>> On Tue, Oct 5, 2010 at 9:22 PM, Aaron Morton <aa...@thelastpickle.com>
>> wrote:
>>> 
>>> There is an example for pig in contrib/pig and a hadoop example in
>>> contrib/hadoop .
>>> What role did you want PHP to fill?
>>> Aaron
>>> 
>>> 
>>> On 06 Oct, 2010,at 06:05 AM, Petr Odut <petr.o...@gmail.com> wrote:
>>> 
>>> Is there any example / tutorial combining these technologies?
>>> Thanks
>>> 
>>> --
>>> Petr Odut [petr.o...@gmail.com]
>> 
>> 
>> 
>> --
>> Petr Odut [petr.o...@gmail.com]
>> 
> 
> 
> 
> -- 
> Best Regards
> 
> Jeff Zhang

Reply via email to