Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
hive:
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)
thrift:
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)
hive: 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) thrift: 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)
Description
While running ant
ant compile-cpp -Dthrift.home=/usr/local
to build Hive Client according to http://wiki.apache.org/hadoop/Hive/HiveODBC I've got following error message:
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