美文网首页
hive 跨集群迁移表

hive 跨集群迁移表

作者: 安徒生 | 来源:发表于2020-04-09 15:32 被阅读0次

    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