Prerequisites

To successfully install and run Impala, verify that the system meets the following hardware and software requirements.

Prerequisite Requirements
Operating System

MapR provides packages for the following 64-bit operating systems:

  • RHEL/CentOS 6.5, 6.6, 7.0, 7.1, 7.2 only (no Ubuntu, no SuSe)
MapR Distribution for Hadoop

MapR distribution version 5.1.0 or later on Hadoop 2.

Verify that you have added the MapR repository on RedHat or CentOS. You should have the maprtech.repo in the /etc/yum.repos.d/ directory with the following content:
[maprtech]
name=MapR Core Components
baseurl=http://package.mapr.com/releases/<version>/<operating system>
enabled=1
gpgcheck=0
protect=1

[maprecosystem]
name=MapR Ecosystem Components
baseurl=http://package.mapr.com/releases/ecosystem-5.x/<system> (or .../ecosystem/<system>)
enabled=1
gpgcheck=0
protect=1

For more information, see Installing MapR Software-Preparing Packages and Repositories.

Hive Metastore

To use Impala for MapR, you must install and configure a Hive metastore. Configure the Hive metastore service and connect to a MySQL database through the service. For more information, see Installing Hive.

Note: Verify that hive-site.xml contains the hive.metastore.uris setting, and substitute the appropriate host name for metastore_server_host on every Impala server node.

Example
<property>
            <name>hive.metastore.uris</name>
            <value>thrift://<metastore_server_host>:9083</value>
</property>
Hive Hive 1.2 is required to run Impala 2.2.0 and 2.5.0. Earlier versions of Hive are not supported. If you have earlier versions of Hive installed, installing the Impala packages uninstalls Hive, except for the configuration logs and process identifiers, and updates the mapr-hive package with Hive 1.2. Impala must have access to the same metastore database that Hive uses. For Hive configuration information, see the Hive documentation.
HBase HBase 0.98 is required to run Impala 2.2.0. HBase 1.1.1 is required to run Impala 2.5.0. If you install HBase from MapR's ecosystem-5.x or ecosystem-all repositories, you currently get HBase 0.98.x, by default. If you upgrade to or install Impala 2.5.0, you must upgrade to or install HBase 1.1.1.
Java JDK 1.7 or 1.8