- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Restore backup hive metastore
- Labels:
-
Apache Hive
Created ‎08-07-2017 06:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
I have locally in a postgres database the hivemetastore, but now we will migrate to a remote metastore with a postgres database also
-Is necesary to migrate the hive metastore database to the new postgres instance?
-Is necesary to shut down the cluster?
Thanks
Created ‎08-07-2017 07:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. If you need any detail from the backup then you MUST migrate the hive metastore backup to new postgres instance.
2. To ensure that the backup is applied correctly and that there are no inconsistencies, you must shut down the Hive Instance/Metastore then apply the backup, do quick consistency checks and then restart hive metastore and the instance.
3. You only need to shutdown Hive Metastore/Instance. No other component needs to be shutdown.
Created ‎08-07-2017 07:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. If you need any detail from the backup then you MUST migrate the hive metastore backup to new postgres instance.
2. To ensure that the backup is applied correctly and that there are no inconsistencies, you must shut down the Hive Instance/Metastore then apply the backup, do quick consistency checks and then restart hive metastore and the instance.
Created ‎08-07-2017 07:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Many thanks for the information!!
Is not necesary to shut down de Namenode?
thanks
Created ‎08-07-2017 07:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. If you need any detail from the backup then you MUST migrate the hive metastore backup to new postgres instance.
2. To ensure that the backup is applied correctly and that there are no inconsistencies, you must shut down the Hive Instance/Metastore then apply the backup, do quick consistency checks and then restart hive metastore and the instance.
3. You only need to shutdown Hive Metastore/Instance. No other component needs to be shutdown.
