Upgrading existing Kudu tables for Hive Metastore integration
Before enabling the Kudu-HMS integration upgrade existing Kudu tables to ensure that Kudu and Hive Metstore (HMS) start with a consistent view of existing tables
- Establish a maintenance window. During this time the Kudu cluster will still be available, but tables in Kudu and the Hive Metastore may be altered or renamed as a part of the upgrade process.
- Make note of all external tables using the following command and drop them.
This reduces the chance of having naming conflicts with Kudu tables which
can lead to errors during upgrading process. It also helps in cases where a
catalog upgrade breaks external tables, due to the underlying Kudu tables
being renamed. The external tables can be recreated after upgrade is
complete.
$ sudo -u kudu kudu hms list master-name-1:7051,master-name-2:7051,master-name-3:7051