A simple script to consolidate the steps of copying/transferring Hive specific data between two Hadoop clusters. The approach is based on the following steps.
- Source hadoop cluster has hive database with couple tables and metadata stored in Mysql database
- Data is transferred using distcp (as oppposed to export/import), on target cluster since it requires some overhead steps
- Metadata is restored on the target cluster
- Everything is supposed to work fine