The following error is thrown while trying to upgrade Datameer from 11.0.x/11.1.x to 11.1.<latest>
–––––––––––––––Starting Sql upgrade 'Upgrade Table Removal'–––––––––––––––– ERROR 1051 (42S02) at line 1: Unknown table 'installation_history' Upgrade was not successful java.lang.IllegalStateException: Execution of Sql script 'Upgrade Table Removal' was not successful. at datameer.dap.upgrade.Main.executeSqlScript(Main.java:549) at datameer.dap.upgrade.SqlUpgrade.upgrade(SqlUpgrade.java:40) at datameer.dap.upgrade.Main.executeUpgrade(Main.java:165) at datameer.dap.upgrade.Main.executeUpgrades(Main.java:180)
The database initialization process has been changed. This error occurs when attempting to upgrade the Datameer database created via the old approach.
Execute the following script before upgrading the database.
- bin/database.sh catch-up-history-datameer-11-0 while upgrading from 11.0.x to 11.1.<latest>.
- bin/database.sh catch-up-history-datameer-11-1 while upgrading from 11.1.x -> 11.1.<latest>.