Upgrading Impala
- Upgrade the
mapr-impala
package on all Impala nodes in the cluster:$ sudo yum update mapr-impala
- In
/opt/mapr/impala/impala-<version>/conf/env.sh
, complete the following steps:- Verify that the Statestore address is set to the address where you plan to run the
statestore
service.
IMPALA_STATE_STORE_HOST=<IP address hosting statestore>
- Change the Catalog service address to the address where you plan to run the catalog
service.
CATALOG_SERVICE_HOST=<IP address hosting catalog service>
Refer to Additional Impala Configuration Options for a list of other options that you can modify in
env.sh
.
- Verify that the Statestore address is set to the address where you plan to run the
statestore
service.
- Verify that
hive-site.xml
has the following property configured on all nodes:<property> <name>hive.metastore.uris</name> <value>thrift://<metastore_server_host>:9083</value> </property>
- To upgrade the statestore service, issue the following
command:
$ sudo yum update mapr-impala-statestore
- To upgrade the catalog service, issue the following
command:
$ sudo yum update mapr-impala-catalog
NOTE: It is recommended (not required) that you install the catalog service on the same node as the statestore service. - To upgrade the impala server, issue the following
command:
$ sudo yum update mapr-impala-server
- Run
configure.sh
to refresh the node configuration./opt/mapr/server/configure.sh -R