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 exception:
{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

        

Reply via email to