Version 0.7.0 depends on Hops 2.8.2.6. This Hops version requires a change of the type of the Inode ID. This requires modifications to the cluster definition and some manual intervention.
attrs:
install:
current_version: "0.6.1"
elastic:
projects:
reindex: "true"
recipes:
- hive2::db
- hive2::tez
- hive2::server2
- hive2::metastore
- conda
The Inode ID type change requires several modifications of the database schema. Before starting the upgrade, make sure you have a backup of your database. Before starting the upgrade you should disable the foreign key checks in MySQL.
set global FOREIGN_KEY_CHECKS=0;
Once the hive2::db recipe has run successfully you can proceed to re-enable the foreign key checks.
set global FOREIGN_KEY_CHECKS=1;
As a heads up, the setting is restored to 1 if you restart your MySQL server.