Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-2230

Hive Client build error

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Clients, ODBC
    • None

    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
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            mityacor Dmytro Korochkin

            Dates

              Created:
              Updated:

              Slack

                Issue deployment