搜索结果
查询Tags标签: shells,共有 4条记录-
shells/hiveserver2.sh
1 #!/bin/bash2 function hiveserver2_stop(){3 pid=$(ps ax | grep "hiveserver2")4 kill $pid || echo "hiveserver2服务已关闭"5 }6 case $1 in7 "start"){8 echo "________________hiveServer2 服务 开启__________________…
2022/4/14 7:16:40 人评论 次浏览 -
shells/kafka.sh
1 #!/bin/sh2 comm=/opt/module/kafka/bin/kafka-server-start.sh3 commd=/opt/module/kafka/bin/kafka-server-stop.sh4 topic=/opt/module/kafka/bin/kafka-topics.sh5 producer=/opt/module/kafka/bin/kafka-console-producer.sh6 consumer=/opt/module/kafka/bin/kafk…
2022/4/14 7:16:39 人评论 次浏览 -
shells/hive.sh
1 #!/bin/bash2 function hive_stop(){3 pid=$(ps ax | grep "hive")4 kill $pid || echo "hive服务关闭"5 }6 case $1 in7 "start"){8 echo "__________启动hive__________"9 /opt/module/hive/bin/hive 10 };; 11 …
2022/4/14 7:16:39 人评论 次浏览 -
添加Windows的envs
In Windows, environment variables can be applied in two ways. Set modifies the current shells (the windows) environment values, and the change is available immediately, but it is temporary. The change will not affect other shells that are running, and…
2021/4/13 7:30:09 人评论 次浏览