I think it is related to my previous questions, but I separate them. In my previous question, I could not connect to WebUI even though I could log into the cluster without any problem.
Also, I tried lynx localhost:8080 and I could get the information about the cluster; I could also user spark-submit to submit job locally by setting master to localhost However, I could not submit the job to the cluster master and I get the error like this: 14/12/04 22:14:39 WARN scheduler.TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient memory 14/12/04 22:14:42 INFO client.AppClient$ClientActor: Connecting to master spark://ec2-54-149-92-187.us-west-2.compute.amazonaws.com:7070... 14/12/04 22:14:42 WARN client.AppClient$ClientActor: Could not connect to akka.tcp:// sparkmas...@ec2-54-149-92-187.us-west-2.compute.amazonaws.com:7070: akka.remote.EndpointAssociationException: Association failed with [akka.tcp:// sparkmas...@ec2-54-149-92-187.us-west-2.compute.amazonaws.com:7070] 14/12/04 22:14:42 WARN client.AppClient$ClientActor: Could not connect to akka.tcp:// sparkmas...@ec2-54-149-92-187.us-west-2.compute.amazonaws.com:7070: akka.remote.EndpointAssociationException: Association failed with [akka.tcp:// sparkmas...@ec2-54-149-92-187.us-west-2.compute.amazonaws.com:7070] 14/12/04 22:14:42 WARN client.AppClient$ClientActor: Could not connect to akka.tcp:// sparkmas...@ec2-54-149-92-187.us-west-2.compute.amazonaws.com:7070: akka.remote.EndpointAssociationException: Association failed with [akka.tcp:// sparkmas...@ec2-54-149-92-187.us-west-2.compute.amazonaws.com:7070] 14/12/04 22:14:42 WARN client.AppClient$ClientActor: Could not connect to akka.tcp:// sparkmas...@ec2-54-149-92-187.us-west-2.compute.amazonaws.com:7070: akka.remote.EndpointAssociationException: Association failed with [akka.tcp:// sparkmas...@ec2-54-149-92-187.us-west-2.compute.amazonaws.com:7070] Please let me know if you any any clue about it. Thanks a lot. -- Sincerely Yours Xingwei Yang https://sites.google.com/site/xingweiyang1223/