Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5C3C84983 for ; Thu, 23 Jun 2011 12:01:11 +0000 (UTC) Received: (qmail 6337 invoked by uid 500); 23 Jun 2011 12:01:10 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 6251 invoked by uid 500); 23 Jun 2011 12:01:10 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 6243 invoked by uid 500); 23 Jun 2011 12:01:10 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 6240 invoked by uid 99); 23 Jun 2011 12:01:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 12:01:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 12:01:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D163A42B8BF for ; Thu, 23 Jun 2011 12:00:48 +0000 (UTC) Date: Thu, 23 Jun 2011 12:00:48 +0000 (UTC) From: "Bennie Schut (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1512530588.33032.1308830448854.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <446869318.24638.1308670187369.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2230) Hive Client build error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-2230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053806#comment-13053806 ] Bennie Schut commented on HIVE-2230: ------------------------------------ I talked with Dmytro offline and this line on the wiki should probably changed: "The Hive ODBC driver was developed with Thrift trunk version r790732, but the latest revision should also be fine." Hive 0.7 and higher uses thrift 0.5.0. I'm not sure what happens when you mix with a newer version of thrift but the older version (r790732) doesn't seem to work. I would probably advice others to use 0.5.0. > Hive Client build error > ----------------------- > > Key: HIVE-2230 > URL: https://issues.apache.org/jira/browse/HIVE-2230 > Project: Hive > Issue Type: Bug > Components: Clients, ODBC > Environment: hive: > {code} > Path: . > URL: http://svn.apache.org/repos/asf/hive/trunk > Repository Root: http://svn.apache.org/repos/asf > Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 > Revision: 1138016 > Node Kind: directory > Schedule: normal > Last Changed Author: jvs > Last Changed Rev: 1137839 > Last Changed Date: 2011-06-21 03:41:17 +0200 (Tue, 21 Jun 2011) > {code} > thrift: > {code} > Path: . > URL: http://svn.apache.org/repos/asf/thrift/trunk > Repository Root: http://svn.apache.org/repos/asf > Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 > Revision: 1138011 > Node Kind: directory > Schedule: normal > Last Changed Author: molinaro > Last Changed Rev: 1137870 > Last Changed Date: 2011-06-21 08:20:18 +0200 (Tue, 21 Jun 2011) > {code} > Reporter: Dmytro Korochkin > > While running ant > {code} > ant compile-cpp -Dthrift.home=/usr/local > {code} > to build Hive Client according to http://wiki.apache.org/hadoop/Hive/HiveODBC I've got following error message: > {code} > compile-cpp: > [exec] mkdir -p /home/ubuntu/hive/build/metastore/objs > [exec] g++ -Wall -g -fPIC -m32 -DARCH32 -I/usr/local/include/thrift -I/usr/local/include/thrift/fb303 -I/include -I/home/ubuntu/hive/service/src/gen/thrift/gen-cpp -I/home/ubuntu/hive/ql/src/gen/thrift/gen-cpp -I/home/ubuntu/hive/metastore/src/gen/thrift/gen-cpp -I/home/ubuntu/hive/odbc/src/cpp -c /home/ubuntu/hive/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp -o /home/ubuntu/hive/build/metastore/objs/ThriftHiveMetastore.o > [exec] /home/ubuntu/hive/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp: In member function 'virtual bool Apache::Hadoop::Hive::ThriftHiveMetastoreProcessor::process_fn(apache::thrift::protocol::TProtocol*, apache::thrift::protocol::TProtocol*, std::string&, int32_t)': > [exec] /home/ubuntu/hive/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp:18014:92: error: no matching function for call to 'Apache::Hadoop::Hive::ThriftHiveMetastoreProcessor::process_fn(apache::thrift::protocol::TProtocol*&, apache::thrift::protocol::TProtocol*&, std::string&, int32_t&)' > [exec] /usr/local/include/thrift/fb303/FacebookService.h:1299:16: note: candidate is: virtual bool facebook::fb303::FacebookServiceProcessor::process_fn(apache::thrift::protocol::TProtocol*, apache::thrift::protocol::TProtocol*, std::string&, int32_t, void*) > [exec] make: *** [/home/ubuntu/hive/build/metastore/objs/ThriftHiveMetastore.o] Error 1 > BUILD FAILED > {code} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira