hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bennie Schut (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2230) Hive Client build error
Date Thu, 23 Jun 2011 12:00:48 GMT

    [ 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

        

Mime
View raw message