Configure the Hive ODBC Connector Driver on Linux
The LD_LIBRARY_PATH environment variable must include the paths to the:
- Libraries for the installed ODBC driver manager
- Shared libraries for the Data Fabric ODBC Driver with SQL Connector for Apache Hive
Important: The Linux version of the driver bundles together functionality for both
32-bit and 64-bit environments. Do not include the paths to both 32- and 64-bit shared
libraries in LD_LIBRARY PATH at the same time. Include only the path to the shared libraries
corresponding to the driver matching the bitness of the client application used. For example,
if you are using a 64-bit client application and ODBC driver manager libraries are installed
in
/usr/local/lib
, then set LD_LIBRARY_PATH as follows:
export LD_LIBRARY_PATH=/usr/local/lib:/opt/mapr/hiveodbc/lib/64
For more information about how to set environment variables permanently, refer to your Linux shell documentation.