Hi,

I'm new to Apache Storm.

I'm receiving data at my UDP port 8060, I want to capture it and perform
some operations in the real time, for which I'm using Spark Streaming. While
the code seems to be correct, I get the following output:
https://gist.github.com/d34th4ck3r/0e88896eac864d6d7193

I'm using the following command: mvn  -e -Dmaven.tomcat.port=8080 tomcat:run
exec:java -Dexec.mainClass="twoGrams.Main"

Also, $netstat -pn | grep 8060 
return nothing. Hence the port is free. 

I think the problem may be because of the interval within which the Storm is
trying to connect the port is too short, but I'm not sure how to change it
and if that actually is the problem.

Any help would be appreciated.

Thanks,
Gautam



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Error-connecting-to-localhost-8060-java-net-ConnectException-Connection-refused-tp21148.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to