摘要: 公司hadoop集群迁移,需要迁移所有的表结构及比较重要的表的数据(跨云服务机房,源广州机房,目标北京机房) 1、迁移表结构 1)、老hive中导出表结构 hive -e "use db;show tables;" > tables.txt #!/bin/bash cat tables.txt |w 阅读全文
posted @ 2020-02-01 16:22 HarkLee 阅读(5459) 评论(0) 推荐(2)