You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Sirisha Cheruvu <si...@gmail.com> on 2017/01/10 11:14:38 UTC

moving hadoop and hive tables with its table structure and schema to new hadoop cluster

Hi,

How to move all hadoop data  including hive tables and its metastore tables
from one cluster into new cluster.. I have to migrate all data from staging
cluster to production cluster..


Regards,
Sirisha Ch,
Phone:+91-9611482943

Re: moving hadoop and hive tables with its table structure and schema to new hadoop cluster

Posted by Sirisha Cheruvu <si...@gmail.com>.
Hi ,

Yes. The hdfs data under /user/hive/warehouse can be migrated to new
cluster using distcp.. But what about the hive table structures which are
stored in my sql metastore? how to load hive table definitions to new mysql
database and again then link that new mysqlschema to data in
/user/hive/warehouse in new cluster..



Regards,
Sirisha Ch,


On Tue, Jan 10, 2017 at 4:44 PM, Sirisha Cheruvu <si...@gmail.com>
wrote:

> Hi,
>
> How to move all hadoop data  including hive tables and its metastore
> tables from one cluster into new cluster.. I have to migrate all data from
> staging cluster to production cluster..
>
>
> Regards,
> Sirisha Ch,
> Phone:+91-9611482943
>

RE: moving hadoop and hive tables with its table structure and schema to new hadoop cluster

Posted by Brahma Reddy Battula <br...@huawei.com>.
Hi

Distcp can be used for same…DistCp is a tool used for large inter/intra-cluster copying.



References:

http://hadoop.apache.org/docs/stable/hadoop-distcp/DistCp.html
https://www.cloudera.com/documentation/enterprise/5-3-x/topics/cdh_admin_distcp_data_cluster_migrate.html
https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_administration/content/using_distcp.html


Regards
Brahma Reddy Battula

From: Sirisha Cheruvu [mailto:sirisha5026@gmail.com]
Sent: 10 January 2017 19:15
To: user@hadoop.apache.org
Subject: moving hadoop and hive tables with its table structure and schema to new hadoop cluster

Hi,

How to move all hadoop data  including hive tables and its metastore tables from one cluster into new cluster.. I have to migrate all data from staging cluster to production cluster..


Regards,
Sirisha Ch,
Phone:+91-9611482943