02 2020 档案

摘要:写的UDF public class FilterEmojiUDF extends UDF { public String evaluate(String str) { if (str == null || str == "") { return null; } else { StringBuild 阅读全文
posted @ 2020-02-02 08:33 HarkLee 阅读(1576) 评论(0) 推荐(0) 编辑
摘要:公司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 阅读(5412) 评论(0) 推荐(2) 编辑

点击右上角即可分享
微信分享提示