简体   繁体   中英

can you sqoop from hive db to another hive db?

we have 2 different Hadoop clusters, and I was wondering if you can sqoop data between hive dbs/tables. I've been looking for this for a while but i can't find it.

Cluster1:                    Cluster2
db: metrics                  db:metrics
table: disk                  table: disk

output on Cluster2:

db: metrics
table:disk
where disk= Cluster1.disk Union Cluster2.disk

really, I can add the logic easy, I just wanted to know if you can use sqoop to import data from hive to hive.

Thanks in advance.

Sqoop doesn't do that. Try using Apache Falcon version 0.4 which adds support for Hive replication.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM