Return-Path: Delivered-To: apmail-hadoop-hive-user-archive@minotaur.apache.org Received: (qmail 21533 invoked from network); 20 Mar 2009 19:52:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2009 19:52:09 -0000 Received: (qmail 71958 invoked by uid 500); 20 Mar 2009 19:52:08 -0000 Delivered-To: apmail-hadoop-hive-user-archive@hadoop.apache.org Received: (qmail 71943 invoked by uid 500); 20 Mar 2009 19:52:08 -0000 Mailing-List: contact hive-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-user@hadoop.apache.org Delivered-To: mailing list hive-user@hadoop.apache.org Received: (qmail 71929 invoked by uid 99); 20 Mar 2009 19:52:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2009 12:52:08 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of digitalwarfare@gmail.com designates 209.85.198.228 as permitted sender) Received: from [209.85.198.228] (HELO rv-out-0506.google.com) (209.85.198.228) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2009 19:51:56 +0000 Received: by rv-out-0506.google.com with SMTP id k40so1175673rvb.29 for ; Fri, 20 Mar 2009 12:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=DKLmAhYr2U0TrAUJTXEvGx7uO6I2K9osSu52Kyw7t3c=; b=uQD1UFreNrfRqyt05P8RCplaIYdrv5arRX6HyJ6Sd1Zto3j1jdp+yDpUwXrYQ6GPzS ABBg7BqgIQwZz/A4l/vEZMyIyby5IXSjykw0A9mYV3FAJRdfQwmeb8qeG9ALfLCIzA6z yHRYxy8ry3t+HUspgl9sU5ooH0s4V4Qn3EMSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=eCJpNRjDkAFcgZZJxV4EwgCLkMjQXoFFhW31lJtyuhZsabaPI1vgWCpcbJZ/Xc4Wqo lSfJCSRttwA6qrg517/JvneMIiA5sWRjMK7LhEEOxa/OiVx6NDmqfQtkHOsMAuBOPfWx La+D1u7UXSDgoGkvgm5cePWZEWyzPH9Z07H3U= MIME-Version: 1.0 Received: by 10.140.193.15 with SMTP id q15mr1520990rvf.274.1237578695295; Fri, 20 Mar 2009 12:51:35 -0700 (PDT) In-Reply-To: References: <376f3e6f0903151322g76e1628cnf7e1f55ec7563a9a@mail.gmail.com> Date: Fri, 20 Mar 2009 12:51:35 -0700 Message-ID: <376f3e6f0903201251r582976ecy1e8f925151de5a79@mail.gmail.com> Subject: Re: Java/Python examples From: Suhail Doshi To: hive-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=000e0cd2118e83c3bd0465923e3f X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd2118e83c3bd0465923e3f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Ragu, How is exactly do you apply the patches? Suhail On Sun, Mar 15, 2009 at 3:57 PM, Raghu Murthy wrote: > You can call Hive in Java either directly or in client-server mode where > you > would have to run a thrift server. > Python and php clients are currently only available in patches at > https://issues.apache.org/jira/browse/HIVE-343 and > https://issues.apache.org/jira/browse/HIVE-299 respectively. > > If you apply the patches and then run ant package, the documentation at > http://wiki.apache.org/hadoop/Hive/HiveServer should be useful. Hope this > helps. > > raghu > > On 3/15/09 12:22 PM, "Suhail Doshi" wrote: > > > I was browsing around the Hive wiki and couldn't manage to find any > examples > > on how people might be connecting to hive and executing queries through > > java/python. Anyone have anything available? (Python preferable) > > -- http://mixpanel.com Blog: http://blog.mixpanel.com --000e0cd2118e83c3bd0465923e3f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Ragu,

How is exactly do you apply the patches?

Suhail

On Sun, Mar 15, 2009 at 3:57 PM, Raghu Murthy <raghu@facebook.com> wrote:
You can call Hive in Java either directly or in client-server mode where you
would have to run a thrift server.
Python and php clients are currently only available in patches at
https://issues.apache.org/jira/browse/HIVE-343 and
https://issues.apache.org/jira/browse/HIVE-299 respectively.

If you apply the patches and then run ant package, the documentation at
http://wiki.apache.org/hadoop/Hive/HiveServer should be useful. Hope this
helps.

raghu

On 3/15/09 12:22 PM, "Suhail Doshi" <suhail@mixpanel.com> wrote:

> I was browsing around the Hive wiki and couldn't manage to find any examples
> on how people might be connecting to hive and executing queries through
> java/python. Anyone have anything available? (Python preferable)




--
http://mixpanel.com
Blog: http://blog.mixpanel.com
--000e0cd2118e83c3bd0465923e3f--