Impala Installation Steps
This topic provides instructions for using package managers to download and install Impala from the EEP repository.
About this task
Complete the following steps to install Impala, impala-server, statestore, and catalog:
Procedure
-
Install the
mapr-impala
package on all the nodes designated to run Impala. To install the package, issue the following command:$ sudo yum install mapr-impala
-
In
/opt/mapr/impala/impala-<version>/conf/env.sh
, complete the following steps:See Additional Impala Configuration Options for more information about these options and other options that you can modify in
env.sh
.WARNINGThe default maximum heap space allocated to the file system file server should provide enough memory for the file system file server to run concurrently with Impala, however you can modify it if needed. To modify the maximum heap space, navigate to
/opt/mapr/conf/warden.conf,
and change theservice.command.mfs.heapsize.maxpercent
parameter. Issue the following command to restart Warden after you modify the parameter:service mapr-warden restart
Refer to warden.conf for more Warden configuration information.
-
Verify that the following property is configured in
hive-site.xml
on all the nodes:<property> <name>hive.metastore.uris</name> <value>thrift://<metastore_server_host>:9083</value> </property>
-
Install the Impala components.
-
Run
configure.sh
to refresh the node configuration./opt/mapr/server/configure.sh -R
-
If the Hive metastore has MapR-SASL enabled, copy
$HIVE_HOME/conf/hive-site.xml
to$IMPALA_HOME/conf/
. Repeat this step any timehive-site.xml
is modified.
Results
At this point, the Impala servers, catalog, and statestore should be running. For instructions on how to run a simple Impala query and how to query HPE Ezmeral Data Fabric Database tables, refer to Example: Running an Impala SQL Query and Query HPE Ezmeral Data Fabric Database and HBase Tables with Impala.