Hi,

When I submit a spark streaming application with following script,

./spark-submit --name MyKafkaWordCount --master local[20] --executor-memory 
512M --total-executor-cores 2 --class spark.examples.streaming.MyKafkaWordCount 
 my.kakfa.wordcountjar

An exception occurs:
Exception in thread "main" java.net.ConnectException: Call From 
hadoop.master/192.168.26.137 to hadoop.master:9000 failed on connection 
exception.

From the exception, it tries to connect to 9000 which is for Hadoop/HDFS. and I 
don't use Hadoop at all in my code(such as save to HDFS).





bit1...@163.com

Reply via email to