case $1 in
"start" )( ssh lin "/home/lin/export/zookeeper-3.6.3-bin/bin/zkServer.sh start;
export/hadoop-3.1.4/sbin/start-dfs.sh; export/hadoop-3.1.4/sbin/start-yarn.sh;
/home/lin/export/kafka_2.12-2.8.0/bin/kafka-server-start.sh /home/lin/export/kafka_2.12-2.8.0/config/server.properties ");;
"stop")(ssh lin " /home/lin/export/kafka_2.12-2.8.0/bin/kafka-server-stop.sh stop;
/home/lin/export/zookeeper-3.6.3-bin/bin/zkServer.sh stop;
export/hadoop-3.1.4/sbin/stop-dfs.sh; export/hadoop-3.1.4/sbin/stop-yarn.sh;
"
);;
esac