[ https://issues.apache.org/jira/browse/HIVE-4433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13643572#comment-13643572 ]
Carl Steinbach commented on HIVE-4433: -------------------------------------- You can reproduce the error by running the following command: % ant compile-cpp -Dthrift.home=$THRIFT_HOME Here's the error message I get: {noformat} [exec] g++ -m64 -DARCH64 -dynamiclib /Users/carl/Work/repos/hive-test/build/metastore/objs/ThriftHiveMetastore.o /Users/carl/Work/repos/hive-test/build/metastore/objs/hive_metastore_constants.o /Users/carl/Work/repos/hive-test/build/metastore/objs/hive_metastore_types.o /Users/carl/Work/repos/hive-test/build/service/objs/ThriftHive.o /Users/carl/Work/repos/hive-test/build/service/objs/hive_service_constants.o /Users/carl/Work/repos/hive-test/build/service/objs/hive_service_types.o /Users/carl/Work/repos/hive-test/build/ql/objs/queryplan_types.o /Users/carl/Work/repos/hive-test/build/ql/objs/queryplan_constants.o /Users/carl/Work/repos/hive-test/build/odbc/objs/hiveclient.o /Users/carl/Work/repos/hive-test/build/odbc/objs/HiveResultSet.o /Users/carl/Work/repos/hive-test/build/odbc/objs/HiveColumnDesc.o /Users/carl/Work/repos/hive-test/build/odbc/objs/HiveRowSet.o /Users/carl/Work/repos/hive-test/build/odbc/objs/hiveclienthelper.o -L/usr/local/lib -lthrift -L/usr/local/lib -lfb303 -o /Users/carl/Work/repos/hive-test/build/odbc/lib/libhiveclient.so.1.0.0 \ [exec] && ln -sf libhiveclient.so.1.0.0 /Users/carl/Work/repos/hive-test/build/odbc/lib/libhiveclient.so [exec] Undefined symbols for architecture x86_64: [exec] "Apache::Hadoop::Hive::SkewedValueList::operator<(Apache::Hadoop::Hive::SkewedValueList const&) const", referenced from: [exec] std::less<Apache::Hadoop::Hive::SkewedValueList>::operator()(Apache::Hadoop::Hive::SkewedValueList const&, Apache::Hadoop::Hive::SkewedValueList const&) constin hive_metastore_types.o [exec] ld: symbol(s) not found for architecture x86_64 [exec] collect2: ld returned 1 exit status [exec] make: *** [/Users/carl/Work/repos/hive-test/build/odbc/lib/libhiveclient.so.1.0.0] Error 1 BUILD FAILED /Users/carl/Work/repos/hive-test/build.xml:242: The following error occurred while executing this line: /Users/carl/Work/repos/hive-test/build.xml:109: The following error occurred while executing this line: /Users/carl/Work/repos/hive-test/build.xml:111: The following error occurred while executing this line: /Users/carl/Work/repos/hive-test/odbc/build.xml:69: exec returned: 2 {noformat} The problem is that STL maps require the '<' operator to be defined for the key type, and SkewedValueList doesn't satisfy that requirement. > Fix C++ Thrift bindings broken in HIVE-4322 > ------------------------------------------- > > Key: HIVE-4433 > URL: https://issues.apache.org/jira/browse/HIVE-4433 > Project: Hive > Issue Type: Bug > Components: Metastore, Thrift API > Affects Versions: 0.11.0 > Reporter: Carl Steinbach > Assignee: Samuel Yuan > Priority: Blocker > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira