集群开启,关闭命令
hadoop:
开启:dfs:start-dfs.sh;yarn:start-yarn.sh
关闭:dfs:stop-dfs.sh;yarn:stop-dfs.sh
spark:
开启:sbin/start-all.sh
关闭:sbin/stop-all.sh
hive:
开启:hive
关闭:quit;
hbase:
开启:bin/start-hbase.sh
关闭:bin/stop-hbase.sh
zooker:
开启:bin/zkServer.sh start
关闭:bin/zkServer.sh stop
flink:
开启:./bin/flink run -c com.test.CountMain -P 3 Test-1. 0-SNAPSHOT.jar --host localhost --port 6379
查询列表:./bin/flink list
关闭:./bin/flink cancel 74e2ce94692adc28c6f3c7a156f96694
kafka:
准备工作:开启zzookeeper
开启zookeeper命令(备注:先进入zookeeper的bin目录) ./zkServer.sh start
关闭zookeeper命令(备注:先进入zookeeper的bin目录) ./zkServer.sh stop
开启: ./bin/kafka-server-start.sh -daemon ./config/server.properties
开启生产者:./bin/kafka-console-producer.sh --broker-list hadoop102:9092 --topic sensor
注意:sensor是topic的名字,hadoop102是主节点
关闭:bin/kafka-server-stop.sh
标签:bin,启动,stop,开启,start,sh,集群,关闭 From: https://www.cnblogs.com/wjc1234/p/17530262.html