SQL jobs and hence procedures are to be changed to Hive SQL if the same tasks to be performed in Big Data ecosystem. There are requirements of re-write the SQL SQL procedures are to be converted into Hive UDF. There are other many tasks to be performed while making such migration feasible and working.
Some time there is the requirement of migrating user Metastore from one environment to another. The process starts with dumping Metastore database. Dumped Metastore database is copied into another environment. Metastore database is further configured. New or impacted Hive engines are directed to use migrated Metastore.
Migrating from one environment to another environment starts with creating snapshot of current state of database. Current snapshot of database is dumped and exported. The prerequisite configuration is created and configured in the target environment. Exported database snapshot is downloaded and imported in the target environment. Data export is optional in case required. Data is exported and loaded in the tables of new created database in the target environment.
Upgrading of Big Data engines to higher version is complex task in the organization. Such tasks are completed with coordination among different dependent projects for applications and infrastructure. Such work of upgrading engines start with checking compatibilities and feasibilities of applications which basically will keep working with this upgraded engines. The upgrade process start with taking back up of existing set up or creating parallel project and repository. Newer version of binary of engine is downloaded, installed, and configured as per current system and application requirement. Once new version of engine is tested and found working, the upgraded version is made available through different deployment and delivery methodologies considering that older version will be also there along with new one. Again, there is ranges of versions of upgrade that should be included for consistent and seamless working of applications and system. Ranges of version falls within N-2 to N+2 if the current version is N. Beyond this, older version is generally deprecated.