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 32839F12C for ; Fri, 26 Apr 2013 11:32:34 +0000 (UTC) Received: (qmail 35662 invoked by uid 500); 26 Apr 2013 11:32:32 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 35260 invoked by uid 500); 26 Apr 2013 11:32:27 -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 34969 invoked by uid 99); 26 Apr 2013 11:32:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2013 11:32:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [92.103.31.231] (HELO mail231.strasbourg.4js.com) (92.103.31.231) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2013 11:32:20 +0000 Received: from [10.0.0.204] (orca.strasbourg.4js.com [10.0.0.204]) (authenticated bits=0) by mail231.strasbourg.4js.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id r3QBW0Hm027135 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 26 Apr 2013 13:32:00 +0200 Message-ID: <517A6618.5030900@4js.com> Date: Fri, 26 Apr 2013 13:33:44 +0200 From: Sebastien FLAESCH Organization: Four Js Development Tools User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20111110 Lightning/1.0b1 Icedove/3.0.11 MIME-Version: 1.0 To: user@hive.apache.org Subject: Compiling Hive ODBC Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97 at mail231 X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (mail231.strasbourg.4js.com [10.10.0.1]); Fri, 26 Apr 2013 13:32:00 +0200 (CEST) X-Virus-Checked: Checked by ClamAV on apache.org Hi all, Just started with an Hadoop / Hive POC to write a So far, I have installed: So far I have downloaded the Hadoop and Hive packages from: http://hadoop.apache.org/releases.html http://hive.apache.org/releases.html I took: http://hadoop.apache.org/releases.html#18+April%2C+2013%3A+Release+0.23.7+available and http://hive.apache.org/releases.html#11+January%2C+2013%3A+release+0.10.0+available After setting the env, it seems that hive is working: hive@orca:~$ $HIVE_HOME/bin/hive ... hive> create table t1 ( k int, s string ); OK hive> select count(*) from t1; Total MapReduce jobs = 1 ... OK 0 Time taken: 7.634 seconds No I want to connect through ODBC... Following the instructions of this page: https://cwiki.apache.org/confluence/display/Hive/HiveODBC Section "Hive Client Build/Setup", I tried: hive@orca:~/hive-0.10.0$ cd $HIVE_HOME hive@orca:~/hive-0.10.0$ ant compile-cpp -Dthrift.home=/home/hive/hive-0.10.0/odbc Buildfile: build.xml does not exist! Build failed Then, from the sources directory src/odbc: hive@orca:~/hive-0.10.0$ cd src/odbc/ hive@orca:~/hive-0.10.0/src/odbc$ ant compile-cpp -Dthrift.home=/home/hive/hive-0.10.0/odbc Buildfile: /home/hive/hive-0.10.0/src/odbc/build.xml BUILD FAILED /home/hive/hive-0.10.0/src/odbc/build.xml:30: The following error occurred while executing this line: /home/hive/hive-0.10.0/src/build-common.xml:117: Problem: failed to create task or type osfamily Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any / declarations have taken place. Total time: 0 seconds Can someone help or point me to an up to date documentation? Thanks! Seb