Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The following page has been changed by EricHwang: http://wiki.apache.org/hadoop/Hive/HiveODBC ------------------------------------------------------------------------------ $ ant test -Dthrift.home=<THRIFT_HOME> }}} You can specifically execute the Hive client tests by running the above command from {{{HIVE_HOME/odbc/}}}. NOTE: Hive client tests require that a local Hive Server be operating on port 10000. - 1.#3 To install the Hive client libraries onto your machine, run the following command from {{{HIVE_HOME/odbc/}}}. NOTE: The install path defaults to {{{/usr/local}}}, but this can be changed by setting the {{{INSTALL_PATH}}} environment variable to a desired alternative. + 1.#3 To install the Hive client libraries onto your machine, run the following command from {{{HIVE_HOME/odbc/}}}. NOTE: The install path defaults to {{{/usr/local}}}. While there is no current way to change this default directory from the ant build process, a manual install may be performed by skipping the command below and copying out the contents of {{{HIVE_HOME/build/odbc/lib}}} and {{{HIVE_HOME/build/odbc/include}}} into their local file system counterparts. {{{ $ sudo ant install -Dthrift.home=<THRIFT_HOME> }}} NOTE: The compiled static library, libhiveclient.a, requires linking with stdc++ as well as thrift libraries to function properly. + NOTE: Currently, there is no way to specify non-system library and header directories to the unixODBC build process. Thus, the Hive client libraries and headers MUST be installed to a default system location in order for the unixODBC build process to detect these files. This issue may be remedied in the future. ==== unixODBC API Wrapper Build/Setup ==== After you have built and installed the Hive client, you can now install the unixODBC API wrapper: