Installing Impala (CDH 4 only)
Cloudera Impala is an open-source add-on to the Cloudera Enterprise Core that returns rapid responses to queries.
Impala is made up of a set of components which can be installed on multiple nodes throughout your cluster. Under CDH 5, Impala is included as part of the CDH installation and no separate steps are needed. The following instructions apply to CDH 4 only.
The Impala package installs these binaries:
impalad - The Impala daemon. Plans and executes queries against HDFS and HBase data. Run one daemon process on each node in the cluster that has a data node.
statestored - Name service that tracks location and status of all impalad instances in the cluster. Run one instance of this daemon on a node in your cluster.
catalogd - Metadata coordination service that broadcasts changes from Impala DDL and DML statements to all affected Impala nodes, so that new tables, newly loaded data, and so on are immediately visible to queries submitted through any Impala node. (Prior to Impala 1.2, you had to run the REFRESH or INVALIDATE METADATA statement on each node to synchronize changed metadata. Now those statements are only required if you perform the DDL or DML through Hive.) Run one instance of this daemon on a node in your cluster, preferable on the same host as the statestored daemon.
impala-shell - Command-line interface for issuing queries to the Impala daemon. You install this on one or more hosts anywhere on your network, not necessarily data nodes. It can connect remotely to any instance of the Impala daemon.
Before doing the installation, ensure that you have all necessary prerequisites. See Cloudera Impala Requirements for details.
You can install Impala under CDH 4 in one of two ways:
- Using the Cloudera Manager installer. This is the recommended technique for doing a reliable and verified Impala installation. Cloudera Manager 4.8 or later can automatically install, configure, manage, and monitor Impala 1.2.1 and higher.
- Using a manual process for systems not managed by Cloudera Manager. You must do additional verification steps in this case, to check that Impala can interact with other Hadoop components correctly, and that your cluster is configured for efficient Impala execution.