1. export table xxx to '/tmp/xxxx';
2.hadoop fs - get /tmp/xxx /tmp/xxx
3.scp文件。。。
4.zip -r /tmp/xxxx.zip /tmp/xxx
5.unzip xxx.zip /tmp/
6.hadoop fs -put /tmp/xxxx /tmp/xxxx
7.import table xxx from '/tmp/xxx'
1. export table xxx to '/tmp/xxxx';
2.hadoop fs - get /tmp/xxx /tmp/xxx
3.scp文件。。。
4.zip -r /tmp/xxxx.zip /tmp/xxx
5.unzip xxx.zip /tmp/
6.hadoop fs -put /tmp/xxxx /tmp/xxxx
7.import table xxx from '/tmp/xxx'
本文标题:hive 跨集群迁移表
本文链接:https://www.haomeiwen.com/subject/mfucmhtx.html
网友评论