خرید بک لینک

Vote count: 0

I have developed an Apache Spark Streaming Application in Python which runs normally on my local machine (spark master, spark worker and kafka is on my local machine). However when I tried to deploy the cluster on S3, the application seems to print out a lot of errors and is stopped after exactly 6.3 min. enter image description here

My setting up:

  1. A broker server (apache kafka), this server allows inbound ports 2181 and 9092 for analytic server, all outbound ports are opened.
  2. A analytic server which I have Spark master and Spark worker ruing on, inbound port 8080 is open, all outbound ports are opened. The application will process messages from Kafka.

I run my application by following command:

PYTHONPATH=/home/ubuntu/social_publishing_platform/analytic/ /home/ubuntu/spark-1.6.1/bin/spark-submit --jars /home/ubuntu/spark-1.6.1/exteal/kafka-assembly/target/spark-streaming-kafka-assembly_2.10-1.6.1.jar --master spark://172.31.25.1:7077  linsight/analyze_info.py

And this is the whole log.

Question 1: What's wrong with my application? Why does it has such many errors but run normally on my local machine.

Question 2: Why were they stopped after exactly 6.3 min?

Question 3: (although a bit off topic) How can I deploy a spark streaming application so it run endlessly in background? Is using detaching utilities such as nohup the only way?

asked 36 secs ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 16 فروردين 1395 ساعت: 9:48

صفحه بندی