Last active
December 8, 2016 09:52
-
-
Save VinACE/f13164c33d16735579572bb955067bf8 to your computer and use it in GitHub Desktop.
Kafka test streaming with python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/centos/spark-2.0.2-bin-hadoop2.7/bin/spark-submit --packages org.apache.spark:spark-streaming-kafka_2.10:1.6.3 --conf spark.cassandra.connection.host=10.0.0.12 --master mesos://10.0.0.11:5050 testKafkastream.py 10.0.0.11:2181 ihealth | |
/home/centos/spark-2.0.2-bin-hadoop2.7/bin/spark-submit --packages com.datastax.spark:spark-cassandra-connector_2.11:2.0.0-M3,TargetHolding/pyspark-cassandra:0.1.5,org.apache.spark:spark-streaming-kafka-0-8_2.11:2.0.1 --conf spark.cassandra.connection.host=10.0.0.12 v_example.py ihealth | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment