Install the Hive ODBC Connector on Linux

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:

  1. Log in as the root user.
  2. Navigate to the folder containing the packages for installation, and type the command corresponding to your Linux distribution:
    • Red Hat Enterprise Linux 5.0 or CentOS 5.0: yum --nogpgcheck localinstall <RPMFileName>
    • SUSE Linux Enterprise Server 1: zypper install <RPMFileName>
    The MapR ODBC Driver with SQL Connector for Apache Hive depends on the following resources:
    • cyrus-sasl-2.1.22-7 or above
    • cyrus-sasl-gssapi-2.1.22-7 or above
    • cyrus-sasl-plain-2.1.22-7 or above

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