I am running spark streaming standalone in ec2 and I am trying to run wordcount example from my desktop. The program is unable to connect to the master, in the logs I see, which seems to be an issue with hostname.
15/03/13 17:37:44 ERROR EndpointWriter: dropping message [class akka.actor.ActorSelectionMessage] for non-local recipient [Actor[akka.tcp:// sparkMaster@54.69.22.4:7077/]] arriving at [akka.tcp:// sparkMaster@54.69.22.4:7077] inbound addresses are [akka.tcp://sparkMaster@ip-10-241-251-232:7077]