- 链接地址:https://blog.csdn.net/weixin_41615494/article/details/79566824#comments_12514807
- 链接标题:一键启动和关闭zookeeper和kafka集群脚本_"ssh $host \"nohup ${file} start > /home/hadoop/mo-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:9597
文章浏览阅读7.1k次,点赞2次,收藏10次。start_kafka.sh#!/bin/shfor host in node-1 node-2 node-3do ssh $host"source/etc/profile;nohup /export/servers/kafka/binkafka-server-start.sh /export/servers/kafka/config/server.properties..._"ssh $host \"nohup ${file} start > /home/hadoop/module/shell/logs/zookeeper_\"$"
版权声明:本文发布于特牛生活网 内容均来源于互联网 如有侵权联系删除