[root@master kafka_2.11-0.10.2.1]# ./bin/kafka-server-start.sh config/server.properties
[root@master kafka_2.11-0.10.2.1]# ./bin/kafka-console-producer.sh --broker-list master:9092 --topic test
[root@master kafka_2.11-0.10.2.1]#./bin/kafka-console-consumer.sh --zookeeper master:2181 --topic test --from-beginning
mvn clean assembly:assembly
/usr/local/src/spark-2.0.2-bin-hadoop2.6/bin/spark-submit\ --class com.skyell.streaming.ReceiverFromKafka\ --master yarn-cluster \ --executor-memory 1G \ --total-executor-cores 2 \ --files $HIVE_HOME/conf/hive-site.xml \ ./Spark8Pro-2.0-SNAPSHOT-jar-with-dependencies.jar
http://master:8088/clusterapp
yarn application -kill application_1539421032843_0093
數據驅動變革-雲將 我的博客地址oop