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 ------------------------------------------------------------------------------ }}} If your system does not have isql, you can obtain it by installing the entirety of unixODBC. If you encounter an error saying that the shared libraries cannot be opened by isql, use the {{{ldd}}} tool to ensure that all dynamic library dependencies are resolved and use the {{{file}}} tool to ensure that isql and all necessary libraries are compiled into the same architecture (32 or 64 bit). + === Troubleshooting === + * Hive client build process + * "libthrift.a: could not read symbols: Bad value" or "relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object"? + * Try recompiling your Apache Thrift libraries with the -fPIC option for your C++ compiler + * "undefined reference to vtable" ? + * Make sure that your Apache Thrift libraries are being included from the proper Thrift directory and that it has the same architecture (32 or 64 bit) as the Hive client. + * Also, check to make sure you are providing a fully qualified path for the thrift.home parameter. + === Current Status === * Comments: Please keep in mind that this is still an initial version and is still very rough around the edges. However, it provides basic ODBC 3.51 API support for connecting, executing queries, fetching, etc. This driver has been successfully tested on 32-bit and 64-bit linux machines with iSQL. It has also been tested with partial success on enterprise applications such as MicroStrategy. Due to licensing reasons, the unixODBC API wrapper files will be uploaded as a separate JIRA attachment that will not be part of this code repository. * Limitations:
