Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 86F62D8BD for ; Thu, 15 Nov 2012 10:46:20 +0000 (UTC) Received: (qmail 99616 invoked by uid 500); 15 Nov 2012 10:46:19 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 99489 invoked by uid 500); 15 Nov 2012 10:46:19 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 99474 invoked by uid 99); 15 Nov 2012 10:46:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2012 10:46:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of manish.malhotra.work@gmail.com designates 74.125.82.54 as permitted sender) Received: from [74.125.82.54] (HELO mail-wg0-f54.google.com) (74.125.82.54) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2012 10:46:13 +0000 Received: by mail-wg0-f54.google.com with SMTP id dt10so621922wgb.23 for ; Thu, 15 Nov 2012 02:45:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=gLi3Q4LZRl8FbTkObytM7AJu2CWO5A1SVU14yx87Wxw=; b=KNOi2kg/259wmLKtZBfsBLPEFWp6mp41X9qOq9P/DPSQSt/oj9oD2Js/TDwqI7dn/h V2n/mS0CzGdSiymHExLuFzeABjxkdgskRcAmHke9xF7TobBZA6wZie1I7zPJiEMx0iNQ 3RhZEUkPE+JHQT2ruBzvLMwFZY3QCA2Ai/cBDiljLxef5bF8DVRe0x4Zry2itzeKst7e e9npbz6bQqDvZtmPTw+OJ75iNkSnapF5hduewcIzkhinWU7hhXVJEgzc8gqEhOOaPjNj cb68Hcu9kwyxU66C2vb23DT+ukVAaHP6XczIVwll1TO1bUyeI2Znoza0DjumzXYxcEE4 C//Q== MIME-Version: 1.0 Received: by 10.216.27.84 with SMTP id d62mr345835wea.3.1352976352700; Thu, 15 Nov 2012 02:45:52 -0800 (PST) Received: by 10.194.56.138 with HTTP; Thu, 15 Nov 2012 02:45:52 -0800 (PST) In-Reply-To: <1352882430.34440.YahooMailNeo@web193001.mail.sg3.yahoo.com> References: <1352882430.34440.YahooMailNeo@web193001.mail.sg3.yahoo.com> Date: Thu, 15 Nov 2012 02:45:52 -0800 Message-ID: Subject: Re: Jaspersoft reports over Hive From: Manish Malhotra To: user@hive.apache.org, BALAKRISHNAN VISWANATHAN Content-Type: multipart/alternative; boundary=0016e6de0053e46a0b04ce865ae2 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6de0053e46a0b04ce865ae2 Content-Type: text/plain; charset=ISO-8859-1 Hi, As per my understanding, the JDBC driver for hive is not scalable, it's a single threaded model. Though even if you get handle of Data Access API, the latency to generate report would be high !! If you are ok with that , then please checkout the Thrift API and CLI Driver class code: http://hive.apache.org/docs/r0.7.1/api/org/apache/hadoop/hive/cli/CliDriver.html ( this is bit older version link) Most probably you need to build a server in between your client and HIVE MetaStore. Please this is my understanding, guys please correct me if I missed out something. Regards, Manish On Wed, Nov 14, 2012 at 12:40 AM, BALAKRISHNAN VISWANATHAN < vbala81@yahoo.co.in> wrote: > Hi, > We are trying to run "Adhoc queries" from Jaspersoft by connecting to > Hive. Can you please help us on running Adhoc queries over Datasources? I > tried checking the user manual, but didn't get much of an idea on that. > > Any help is highly appreciated > Thanks, Bala > --0016e6de0053e46a0b04ce865ae2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

As per my understanding, the JDBC driver for hive is not scalabl= e, it's a single threaded model.
Though even if you get handle of D= ata Access API, the latency to generate report would be high !!
If you = are ok with that , then please checkout the Thrift API and CLI Driver class= code:

http://hive.apache.org/docs/r0.7.1/api/org/apache/had= oop/hive/cli/CliDriver.html=A0 ( this is bit older version link)
Most probably you need to build a server in between your client and HIVE Me= taStore.

Please this is my understanding, guys please correct me if= I missed out something.

Regards,
Manish


On Wed, Nov 14, 2012 at 12:40 AM, BALAKR= ISHNAN VISWANATHAN <vbala81@yahoo.co.in> wrote:
Hi,
We are trying to run "Adhoc que= ries" from Jaspersoft by connecting to Hive. Can you please help us on= running Adhoc queries over Datasources? I tried checking the user manual, = but didn't get much of an idea on that.

Any help is highly appreciated
Thanks, Bala

--0016e6de0053e46a0b04ce865ae2--