Install the Hive ODBC Connector on Linux

About this task

The MapR ODBC Driver with SQL Connector for Apache Hive driver files are installed in the following directories:

  • /opt/mapr/hiveodbc/ErrorMessages – Error messages files directory
  • /opt/mapr/hiveodbc/Setup – Sample configuration files directory
  • /opt/mapr/hiveodbc/lib/32 – 32-bit shared libraries directory
  • /opt/mapr/hiveodbc/lib/64 – 64-bit shared libraries directory

To install the MapR ODBC Driver with SQL Connector for Apache Hive:

Procedure

  1. Log in as the root user.
  2. Use RPM to install the rpm package corresponding to your Linux distribution:
    The MapR ODBC Driver with SQL Connector for Apache Hive depends on the following resources:
    • cyrus-sasl-2.1.22-7 or later
    • cyrus-sasl-gssapi-2.1.22-7 or later
    • cyrus-sasl-plain-2.1.22-7 or later

    If the package manager in your Linux distribution cannot resolve the dependencies automatically when installing the driver, download and manually install the packages required by the version of the driver that you want to install.