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 D3F9B7395 for ; Wed, 26 Oct 2011 17:03:05 +0000 (UTC) Received: (qmail 11390 invoked by uid 500); 26 Oct 2011 17:03:04 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 11345 invoked by uid 500); 26 Oct 2011 17:03:04 -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 11316 invoked by uid 99); 26 Oct 2011 17:03:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 17:03:04 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.116.198.141] (HELO gse-mta-01.emailfiltering.com) (194.116.198.141) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 17:02:58 +0000 Received: from 83-244-202-21.cust-83.exponential-e.net ([83.244.202.21]) by gse-mta-01.emailfiltering.com with emfmta (version 4.8.5.36) vanilla id 28650157794 for user@hive.apache.org;afdeaedaef5f035; Wed, 26 Oct 2011 18:02:35 +0100 Received: from dss-protector.sig.ads (unknown [127.0.0.1]) by dss-protector.sig.ads (Service) with ESMTP id E77E3128013 for ; Wed, 26 Oct 2011 17:02:34 +0000 (GMT) Received: from GBGH-SVEXCHFE02.sig.ads (unknown [10.10.14.23]) by dss-protector.sig.ads (Service) with ESMTP id 30CB7128002 for ; Wed, 26 Oct 2011 17:02:34 +0000 (GMT) Received: from GBGH-EXCH-CMS.sig.ads ([fe80::bcda:dd2c:4556:deda]) by GBGH-SVEXCHFE02.sig.ads ([fe80::69ae:bd72:c665:191c%10]) with mapi; Wed, 26 Oct 2011 18:02:34 +0100 From: Tony Burton To: "user@hive.apache.org" Date: Wed, 26 Oct 2011 18:02:33 +0100 Subject: RE: UnixODBC and Hive setup Thread-Topic: UnixODBC and Hive setup Thread-Index: AcyT/B+S91rLiW7FTnG+Fk9B8J4lZwABGfmg Message-ID: <556325346CA26341B6F0530E07F90D960169F0DBA121@GBGH-EXCH-CMS.sig.ads> References: <556325346CA26341B6F0530E07F90D960169F0DBA0FB@GBGH-EXCH-CMS.sig.ads> In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: multipart/alternative; boundary="_000_556325346CA26341B6F0530E07F90D960169F0DBA121GBGHEXCHCMS_" MIME-Version: 1.0 --_000_556325346CA26341B6F0530E07F90D960169F0DBA121GBGHEXCHCMS_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Ashutosh Thanks for the speedy reply! I found the contrib/fb303 easily enough - the = bootstrap.sh and configure are fine, but the make fails with: /usr/local/include/thrift/transport/TTransport.h: error: 'unit32_t' does no= t name a type Is there a quick fix for this? Thanks! Tony From: Ashutosh Chauhan [mailto:hashutosh@apache.org] Sent: 26 October 2011 17:27 To: user@hive.apache.org Subject: Re: UnixODBC and Hive setup >> When I run the ant build, it fails because it can't find header file fb3= 03_types.h. Any idea where this file should come from? You need to build fb303 for this. Go to the dir where you untarred thrift t= ar ball. Then, cd contrib/fb303 . Then ./bootstrap.sh && configure && make = && make install. Bit more instructions are there in README in same dir. Hope it helps, Ashutosh On Wed, Oct 26, 2011 at 09:05, Tony Burton > wrote: Hello, I'm having trouble installing and running UnixODBC for Hive. Can anyone hel= p? I'm trying to follow the guide at https://cwiki.apache.org/confluence/di= splay/Hive/HiveODBC but it's not very helpful. I'm trying to install on Ubu= ntu 11.10. I've got the Thrift server up and running (I think) - following the instruc= tions at https://cwiki.apache.org/confluence/display/Hive/HiveServer I star= t the server, it says "Starting Hive Thrift Server" with no further output = until the ant tests run. Both tests mentioned on https://cwiki.apache.org/c= onfluence/display/Hive/HiveServer run and are successful. I run into trouble with the next step on https://cwiki.apache.org/confluenc= e/display/Hive/HiveODBC, the section titled "Driver Architecture" onwards. = I build the Hive Client using this command: > ant compile-cpp -Dthrift.home=3D Where THRIFT_HOME is the path to my installation of Thrift (in this case, /= usr/local/lib). When I run the ant build, it fails because it can't find he= ader file fb303_types.h. Any idea where this file should come from? Also, when building the unixODBC code (following instructions at https://cw= iki.apache.org/confluence/display/Hive/HiveODBC), I get no libodbchive.so.1= .0.0 in my Drivers/hive/.libs directory - in fact, the hive directory in Dr= ivers does not exist. How do I persuade the build to create the hive-relate= d directories and libraries? Many thanks in advance for your help, Tony P Think of the environment: please don't print this email unless you really= need to. Error! Filename not specified. Outbound Email has been scanned for viruses and SPAM This email and any attachments are confidential, protected by copyright and= may be legally privileged. If you are not the intended recipient, then the= dissemination or copying of this email is prohibited. If you have received= this in error, please notify the sender by replying by email and then dele= te the email completely from your system. Neither Sporting Index nor the se= nder accepts responsibility for any virus, or any other defect which might = affect any computer or IT system into which the email is received and/or op= ened. It is the responsibility of the recipient to scan the email and no re= sponsibility is accepted for any loss or damage arising in any way from rec= eipt or use of this email. Sporting Index Ltd is a company registered in En= gland and Wales with company number 2636842, whose registered office is at = Brookfield House, Green Lane, Ivinghoe, Leighton Buzzard, LU7 9ES. Sporting= Index Ltd is authorised and regulated by the UK Financial Services Authori= ty (reg. no. 150404). Any financial promotion contained herein has been iss= ued and approved by Sporting Index Ltd. Inbound Email has been scanned for viruses and SPAM = **********************************************************************=0D= =0AThis email and any attachments are confidential, protected by copyri= ght and may be legally privileged. If you are not the intended recipie= nt, then the dissemination or copying of this email is prohibited. If y= ou have received this in error, please notify the sender by replying by= email and then delete the email completely from your system. Neither = Sporting Index nor the sender accepts responsibility for any virus, or = any other defect which might affect any computer or IT system into whic= h the email is received and/or opened. It is the responsibility of the= recipient to scan the email and no responsibility is accepted for any = loss or damage arising in any way from receipt or use of this email. S= porting Index Ltd is a company registered in England and Wales with com= pany number 2636842, whose registered office is at Brookfield House, Gr= een Lane, Ivinghoe, Leighton Buzzard, LU7 9ES. Sporting Index Ltd is a= uthorised and regulated by the UK Financial Services Authority (reg. no= =2E 150404). Any financial promotion contained herein has been issued=20= =0D=0Aand approved by Sporting Index Ltd.=0D=0A=0D=0AOutbound email has= been scanned for viruses and SPAM=0D=0A= --_000_556325346CA26341B6F0530E07F90D960169F0DBA121GBGHEXCHCMS_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Ashutos= h

 <= /p>

Thanks for the speedy reply! I found the cont= rib/fb303 easily enough – the bootstrap.sh and configure are fine, bu= t the make fails with:

 

/usr/local/include/thrif= t/transport/TTransport.h: error: ‘unit32_t’ does not name a typ= e

 <= /p>

Is there a quick fix for this? Thanks!

 

Tony

=  

 

 

 

From: Ashutosh Chauhan [mailto:hashutosh@apache.org] =
Sent: 26 October 2011 17:27
To: user@hive.apache.orgSubject: Re: UnixODBC and Hive setup

 

>> When = I run the ant build, it fails because it can’t find header file fb303= _types.h. Any idea where this file should come from?

You need to bui= ld fb303 for this. Go to the dir where you untarred thrift tar ball. Then, = cd contrib/fb303 . Then ./bootstrap.sh && configure && make= && make install. Bit more instructions are there in README in same= dir. 

Hope it helps,
Ashutosh

On Wed, Oct 26, 2011 at 09:05, Tony Burton <TBurton@sportingindex.com> wrote:=

Hello,

 

I’m having trouble installing and running UnixODBC for Hive.= Can anyone help? I’m trying to follow the guide at http= s://cwiki.apache.org/confluence/display/Hive/HiveODBC but it’s no= t very helpful. I’m trying to install on Ubuntu 11.10.

I’ve got the Thrift server up and running (I think) – f= ollowing the instructions at https://cwiki.apache.org/conflu= ence/display/Hive/HiveServer I start the server, it says “Startin= g Hive Thrift Server” with no further output until the ant tests run.= Both tests mentioned on https://cwiki.apache.org/confluence= /display/Hive/HiveServer run and are successful.

&= nbsp;

I run into trouble with the next step on https://cwiki.apache.org/confluence/display/Hive/HiveODBC, the se= ction titled “Driver Architecture” onwards. I build the Hive Cl= ient using this command:

 

&= gt; ant compile-cpp -Dthrift.home=3D<THRIFT_HOME>

 

Where THRIFT_HOME is the path to my installat= ion of Thrift (in this case, /usr/local/lib). When I run the ant build, it = fails because it can’t find header file fb303_types.h. Any idea where= this file should come from?

 

 

Also, when building the unixODBC code (follo= wing instructions at https://cwiki.apache.org/confluence/displ= ay/Hive/HiveODBC), I get no libodbchive.so.1.0.0 in my Drivers/hive/.li= bs directory – in fact, the hive directory in Drivers does not exist.= How do I persuade the build to create the hive-related directories and lib= raries?

 

Many thanks in adv= ance for your help,

 

Tony

 

 

 

 

P <= span style=3D'font-size:9.0pt;color:#6EA05B'>Think of the environment: plea= se don't print this email unless you really need to.<= /p>

Error! Filename not specified.

Outbound Email has been scanned for viruses and SPAM

This email and any attachments are confidential, protected by = copyright and may be legally privileged. If you are not the intended recipi= ent, then the dissemination or copying of this email is prohibited. If you = have received this in error, please notify the sender by replying by email = and then delete the email completely from your system. Neither Sporting Ind= ex nor the sender accepts responsibility for any virus, or any other defect= which might affect any computer or IT system into which the email is recei= ved and/or opened. It is the responsibility of the recipient to scan the em= ail and no responsibility is accepted for any loss or damage arising in any= way from receipt or use of this email. Sporting Index Ltd is a company reg= istered in England and Wales with company number 2636842, whose registered = office is at Brookfield House, Green Lane, Ivinghoe, Leighton Buzzard, LU7 = 9ES. Sporting Index Ltd is authorised and regulated by the UK Financial Ser= vices Authority (reg. no. 150404). Any financial promotion contained herein= has been issued and approved by Sporting Index Ltd.

<= /div>

 

Inbound Email has been scanne= d for viruses and SPAM

=

P Think of the en= vironment: please don't print this email unless=0D=0Ayou really need to= =2E

=0D=0A=0D=0A

=0D=0A=0D=0A

Outbound Email has been scanned for viruses and SPAM

=0D= =0A=0D=0A

This email and any attach= ments are confidential, protected by copyright and may be legally privi= leged. If you are not the=20=0D=0A=0D=0Aintended recipient, then the d= issemination or copying of this email is prohibited. If you have receiv= ed this in error, please notify the sender by replying=20=0D=0A=0D=0Aby= email and then delete the email completely from your system. Neither = Sporting Index nor the sender accepts responsibility for any virus, or = any other=20=0D=0A=0D=0Adefect which might affect any computer or IT sy= stem into which the email is received and/or opened. It is the respons= ibility of the recipient to scan the=20=0D=0A=0D=0Aemail and no respons= ibility is accepted for any loss or damage arising in any way from rece= ipt or use of this email. Sporting Index Ltd is a company=20=0D=0A=0D=0A= registered in England and Wales with company number 2636842, whose regi= stered office is at Brookfield House, Green Lane, Ivinghoe, Leighton Bu= zzard, LU7 9ES.=20=0D=0A=0D=0A Sporting Index Ltd is authorised and reg= ulated by the UK Financial Services Authority (reg. no. 150404). Any fi= nancial promotion contained herein has been issued=20=0D=0Aand approved= by Sporting Index Ltd.

= = --_000_556325346CA26341B6F0530E07F90D960169F0DBA121GBGHEXCHCMS_--