From user-return-9678-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Wed Oct 06 10:16:52 2010 Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 78682 invoked from network); 6 Oct 2010 10:16:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Oct 2010 10:16:52 -0000 Received: (qmail 44676 invoked by uid 500); 6 Oct 2010 10:16:50 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 44620 invoked by uid 500); 6 Oct 2010 10:16:47 -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 44607 invoked by uid 99); 6 Oct 2010 10:16:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 10:16:47 +0000 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jeremy.hanna1234@gmail.com designates 209.85.160.172 as permitted sender) Received: from [209.85.160.172] (HELO mail-gy0-f172.google.com) (209.85.160.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 10:16:41 +0000 Received: by gyg10 with SMTP id 10so661079gyg.31 for ; Wed, 06 Oct 2010 03:16:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=gKQsMo0dN5oEjZkDCZzxnoYrrcvHFI3J5HZCdlAj9eY=; b=tEXdapOp+eIazUFcojdTfNfKzEAGQUI1xnJJLzppq4rz/b4E1RTCDXC26X6f6/y6Xu FYcS4GWUq7mPVvpgVzGJAs13vT17Ufy+B5/TNhPEKUYvkIvOTDdsv7OxR6IFZwPbiWuL EWJlsn3SJakeCQOUPOvAAIg1IydkSih9Rhs2Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=ZdDbkNJxNCKBEAtTg9zWO6JAwHSfVhEt+Z/9U3c2k0bJUXJM999F9gxgAg5FGYTUPE OqpRc/LsFoVv/xOJIaZKA547rzZaMeixfQ9PoIJ5Q7/M0v0/1P305ULLUvVxzs3BJr1A NrdhGn+UALhQmUm1lpRcdhn9tR9M0oyt6V5Yk= Received: by 10.151.114.13 with SMTP id r13mr1458920ybm.116.1286360179187; Wed, 06 Oct 2010 03:16:19 -0700 (PDT) Received: from [192.168.1.147] (99-99-154-139.lightspeed.austtx.sbcglobal.net [99.99.154.139]) by mx.google.com with ESMTPS id p30sm765021ybk.8.2010.10.06.03.16.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 06 Oct 2010 03:16:18 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Cassandra + Pig + PHP From: Jeremy Hanna In-Reply-To: Date: Wed, 6 Oct 2010 05:16:15 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <7C5A0C1E-B23D-49B1-AC08-A2A0977F947D@gmail.com> References: <87d3ade7-912e-c5dd-9fe0-b13225af77ec@me.com> To: user@cassandra.apache.org X-Mailer: Apple Mail (2.1081) > 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 that loads data from Cassandra, is there also = a StoreFunc? There is not currently a StoreFunc written. If you would like to see = one, you could create a Jira ticket under the Hadoop component so that = it can be added to the queue for the future. I know it has been talked = about but there's nothing currently in Jira for it. Even better, if = you'd like to roll up your sleeves and implement it - attaching a patch = to the Jira ticket, that would be welcome too :). = https://issues.apache.org/jira/browse/CASSANDRA On Oct 6, 2010, at 3:17 AM, 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 >=20 > 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 in = contrib/hadoop .=20 >=20 > What role did you want PHP to fill? >=20 > Aaron >=20 >=20 >=20 > On 06 Oct, 2010,at 06:05 AM, Petr Odut wrote: >=20 >> Is there any example / tutorial combining these technologies? >>=20 >> Thanks >>=20 >> --=20 >> Petr Odut [petr.odut@gmail.com] >=20 >=20 >=20 > --=20 > Petr Odut [petr.odut@gmail.com]