Installing Impala
About this task
Install the Impala package on nodes in the cluster that you have designated to run Impala. Install the Impala server on every node designated to run impalad. Install the statestore and catalog packages on only one node in the cluster.
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
.WARNING:The default maximum heap space allocated to the MapR-FS fileserver should provide enough memory for the MapR-FS fileserver 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.