- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to sync schemas from one region to another
- Labels:
-
Apache Hive
Created ‎01-06-2023 12:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
Need advice, how we can export all the DDL of one scheme from Hive ( from QA region, a schema with around 2000 tables) to Dev or ACPT region, only DDL's needed to be in sync , not worried about the data, so do we have any option or script to import / export all the DDL's from one region to another region in one go, please suggest, thank you.
PK
Created ‎01-15-2023 11:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @prakodi,
For CDH 6.3, you can review this article
https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/cm_bdr_hive_replication.html
Hope this helps,
Tarun
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs-up button.
Created ‎01-06-2023 11:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use BDR to sync only dictionary
Created ‎01-08-2023 09:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @prakodi ,
You can use Hive Replication to migrate the schema from one cluster to another
Hope this helps,
Tarun
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs-up button.
Created ‎01-10-2023 07:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
we need to sync only few schemas, this solution is completely moving all the metastore from one region to another region. Just for one schema which contains 100's of tables, we want to sync the DDL's to another region.
Created ‎01-10-2023 10:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @prakodi,
Thanks for your response!
You do have the option to select a single database in the general tab while creating hive replication policies. In the Replicate All parameter you can mention the single database.
Refer to this article:
Hope this helps,
Tarun
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs-up button.
Created ‎01-11-2023 04:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tarun,
This solutions looks fine, but unfortunately we are still using CDH6.3 version only, so we dont use Ranger, so is there any option for CHD 6.3 version ?
Thanks,
PK
Created ‎01-15-2023 11:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @prakodi,
For CDH 6.3, you can review this article
https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/cm_bdr_hive_replication.html
Hope this helps,
Tarun
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs-up button.
