摘要: CREATE TABLE ods_stat_hospital( id bigint, hospital_code string comment '医院编码', primary_id string comment 'his的主键id', dept_name string, stat_date stri 阅读全文
posted @ 2022-01-08 17:18 持枢 阅读(77) 评论(0) 推荐(0)
摘要: 一、同步脚本 vim xsync #!/bin/bash #1. 判断参数个数 if [ $# -lt 1 ] then echo Not Enough Arguement! exit; fi #2. 遍历集群所有机器 for host in hadoop101 hadoop102 hadoop10 阅读全文
posted @ 2022-01-08 15:38 持枢 阅读(112) 评论(0) 推荐(0)
摘要: 一、vim core-site.xml <!-- core指定 NameNode 的地址 --> <property> <name>fs.defaultFS</name> <value>hdfs://hadoop101:8020</value> </property> <!-- 指定 hadoop 阅读全文
posted @ 2022-01-08 14:45 持枢 阅读(301) 评论(1) 推荐(0)