Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 79162 invoked from network); 6 Oct 2010 10:20:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Oct 2010 10:20:20 -0000 Received: (qmail 49844 invoked by uid 500); 6 Oct 2010 10:20:19 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 49802 invoked by uid 500); 6 Oct 2010 10:20:16 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 49794 invoked by uid 99); 6 Oct 2010 10:20:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 10:20:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a40.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 10:20:09 +0000 Received: from homiemail-a40.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a40.g.dreamhost.com (Postfix) with ESMTP id 3D11C74C072 for ; Wed, 6 Oct 2010 03:19:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=message-id :from:to:content-type:content-transfer-encoding:mime-version :subject:date; q=dns; s=thelastpickle.com; b=wQ/F/+dWO8Oy7Gj9oTz 9icEr7A5LCitSgXO9mWinqfxEeHpkxhizQJj4LnSg4bE+/ny6qTs5hTte7ab73Qd rw5ulPDRWqYdv/8Y8XusWdNY03x8s+rtIf/daDj+NWsZKBD7firR6Mk4G0U9WiL6 rgngjasPU9eTQUysH3Y8zY8A= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h= message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date; s=thelastpickle.com; bh=ivTZVTAx5mC5 YxUf6QmpvB14Sxc=; b=y6/HshjcZSakLD/mtFdk1ghBoFOQF9vHu66XrBoaPZvn xfvPUZOkdtB7erDfvz0hCcKS8gHh4AvICIhd23NsqoKVfSD2FamT5i8zv71K/O/P ZWqdPjs3rdg2zSzPLqYz0Wz51bqRowOuS8kkwBb8tpG3UrD8+5mlp9kIuRm1HXg= Received: from [10.0.1.151] (121-73-157-230.cable.telstraclear.net [121.73.157.230]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a40.g.dreamhost.com (Postfix) with ESMTPSA id BA93E74C06E for ; Wed, 6 Oct 2010 03:19:47 -0700 (PDT) Message-Id: From: Aaron Morton To: "user@cassandra.apache.org" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Mailer: iPad Mail (7B500) Mime-Version: 1.0 (iPad Mail 7B500) Subject: Re: Cassandra + Pig + PHP Date: Wed, 6 Oct 2010 23:20:03 +1300 X-Virus-Checked: Checked by ClamAV on apache.org 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 =20 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 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. >=20 >=20 >=20 > 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 (via = thrift or >> something..?) >> PIG: there is a LoadFunc that loads data from Cassandra, is there = also a >> StoreFunc? >>=20 >> On Tue, Oct 5, 2010 at 9:22 PM, Aaron Morton = >> wrote: >>>=20 >>> 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 >>>=20 >>>=20 >>> On 06 Oct, 2010,at 06:05 AM, Petr Odut wrote: >>>=20 >>> Is there any example / tutorial combining these technologies? >>> Thanks >>>=20 >>> -- >>> Petr Odut [petr.odut@gmail.com] >>=20 >>=20 >>=20 >> -- >> Petr Odut [petr.odut@gmail.com] >>=20 >=20 >=20 >=20 > --=20 > Best Regards >=20 > Jeff Zhang