标签:logs style mds awk serve star tar pre class
ps -ef|grep zookeeper |grep -v grep|awk ‘{print $2}‘|xargs kill -9; ps -ef|grep pet_kafka |grep -v grep|awk ‘{print $2}‘|xargs kill -9; rm -rf /app/zookeeper/data/version-2/; rm -rf /app/zookeeper/logs/*; rm -rf /app/pet_kafka_emds2_cluster/kafka-logs/*; rm -rf /app/pet_kafka_emds2_cluster/logs/*; /app/zookeeper/bin/zkServer.sh start /app/pet_kafka_cluster/bin/kafka-server-start.sh -daemon /app/pet_kafka_emds2r/config/server.properties
清理kafka zookeeper
标签:logs style mds awk serve star tar pre class
原文地址:http://www.cnblogs.com/testway/p/7772238.html