摘要:
1 #!/bin/bash 2 function hive_stop(){ 3 pid=$(ps ax | grep "hive") 4 kill $pid || echo "hive服务关闭" 5 } 6 case $1 in 7 "start"){ 8 echo "__________启动hiv 阅读全文
posted @ 2022-04-13 09:51
CHANG_09
阅读(28)
评论(0)
推荐(0)
摘要:
1 #!/bin/bash 2 case $1 in 3 "start") 4 /opt/module/hbase/bin/start-hbase.sh 5 ;; 6 "stop") 7 /opt/module/hbase/bin/stop-hbase.sh 8 ;; 9 "shell") 10 / 阅读全文
posted @ 2022-04-13 09:50
CHANG_09
阅读(32)
评论(0)
推荐(0)
摘要:
1 #!/bin/bash 2 case $1 in 3 ""){ 4 /root/shells/stopfirewalld.sh 5 /root/shells/wait-time.sh 3 6 /root/shells/hadoop.sh start 7 /root/shells/wait-tim 阅读全文
posted @ 2022-04-13 09:47
CHANG_09
阅读(35)
评论(0)
推荐(0)
摘要:
1 #!/bin/bash 2 case $1 in 3 "port"){ 4 /opt/module/flume/bin/flume-ng agent --conf /opt/module/flume/conf/ --name a1 --conf-file /opt/module/flume/jo 阅读全文
posted @ 2022-04-13 09:46
CHANG_09
阅读(25)
评论(0)
推荐(0)
摘要:
1 #!/bin/bash 2 function hiveserver2_stop(){ 3 pid=$(ps ax | grep "flink") 4 kill $pid || echo "flink服务已关闭" 5 } 6 case $1 in 7 "start"){ 8 echo "_____ 阅读全文
posted @ 2022-04-13 09:45
CHANG_09
阅读(38)
评论(0)
推荐(0)
摘要:
1 #!/bin/bash 2 /opt/module/hive/bin/hive -e " 3 with 4 a as ( 5 select 6 user_id, 7 count(0) order_count, 8 sum(final_total_amount) order_amount 9 fr 阅读全文
posted @ 2022-04-13 09:44
CHANG_09
阅读(30)
评论(0)
推荐(0)
摘要:
1 #!/bin/bash 2 case $1 in 3 "start"){ 4 echo "__________启动 hadoop 集群____________" 5 ssh hadoop106 "/opt/module/hadoop/sbin/start-dfs.sh" 6 ssh hadoop 阅读全文
posted @ 2022-04-13 09:43
CHANG_09
阅读(28)
评论(0)
推荐(0)
摘要:
1 #!/bin/bash 2 case $1 in 3 "start"){ 4 clickhouse-client -m --port=9000 -u default --password root 5 };; 6 "server-start"){ 7 #.启动服务 8 service click 阅读全文
posted @ 2022-04-13 09:41
CHANG_09
阅读(114)
评论(0)
推荐(0)

浙公网安备 33010602011771号