摘要: 1.问题描述 如何将多个字符作为字段分割符的数据文件加载到Hive表中,事例数据如下: 字段分隔符为“@#$” test1@#$test1name@#$test2value test2@#$test2name@#$test2value test3@#$test3name@#$test4value 如 阅读全文
posted @ 2020-09-29 21:32 架构艺术 阅读(483) 评论(0) 推荐(0) 编辑
摘要: dir=/usr/local/nginx/logs for file in $dir/*; do echo $file done //结果 ./test.sh /usr/local/nginx/logs/access1.log /usr/local/nginx/logs/access.log /us 阅读全文
posted @ 2020-09-29 20:32 架构艺术 阅读(306) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/sfccl/p/11247129.html 一、环境: 服务器一台,已安装centos7.5系统,做ansible服务器; 客户机三台:hadoop-master(192.168.1.18)、hadoop-slave1(192.168.1.19)、ha 阅读全文
posted @ 2020-09-29 11:05 架构艺术 阅读(150) 评论(0) 推荐(0) 编辑