I want to setup an Apache Spark Cluster but I am not able to communicate from the worker machine to the master machine at port 7077 (where the Spark Master is running).
So I tried to telnet
to the master from the worker machine and this is what I am seeing:
root@worker:~# telnet spark 7077
Trying 10.xx.xx.xx...
Connected to spark.
Escape character is '^]'.
Connection closed by foreign host.
The command terminated with "Connection closed by foreign host" immediately. It does not timeout or anything.
I verified that the the host is listening on the port and since telnet
output shows "Connected to spark." — this also means that the connection is successful.
What could be the reason for such behavior? I am wondering if this closing of the connection could be the reason why I am not able to communicate from my worker machine to the master.