Re: Cassandra + Pig + PHP

2010-10-06 Thread Jeremy Hanna
Yes - the HadoopSupport should be updated for the functionality that is added to 0.7. It's still a little in flux. There is an output format and output streaming support on trunk/0.7 beta2. The output format has a java example in the contrib/word_count example code. The output streaming, whi

Re: Cassandra + Pig + PHP

2010-10-06 Thread Aaron Morton
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 o

Re: Cassandra + Pig + PHP

2010-10-06 Thread Jeremy Hanna
> PHP: I basicaly need to start pig program from a php script (via thrift or > something..?) Can't you just execute a Pig script with PHP by calling Pig with a PHP exec function call? I'm not sure what you're trying to do with it, but that's one way you could do it. > PIG: there is a LoadFunc

Re: Cassandra + Pig + PHP

2010-10-06 Thread Jeff Zhang
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 wrote: > Hi, > PHP: I basicaly need to start pig program from a php script (vi

Re: Cassandra + Pig + PHP

2010-10-06 Thread Petr Odut
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 wrote: > There is an example for pig in contrib/pig and a hadoop example i

Re: Cassandra + Pig + PHP

2010-10-05 Thread Aaron Morton
There is an example for pig in contrib/pig and a hadoop example in contrib/hadoop . What role did you want PHP to fill?AaronOn 06 Oct, 2010,at 06:05 AM, Petr Odut wrote:Is there any example / tutorial combining these technologies?Thanks-- Petr Odut [petr.o...@gmail.com]