【发布时间】:2015-04-09 09:23:32
【问题描述】:
我正在通过“启动点击部署软件”功能在 Google Compute Engine 中尝试 hadoop/spark 集群。
我已经创建了 1 个主节点和 2 个从节点,我可以在集群上启动 spark-shell,但是当我想在我的计算机上启动 spark-shell 时,我失败了。
我启动:
./bin/spark-shell --master spark://IP or Hostname:7077
我有这个 stackTrace:
15/04/09 10:58:06 INFO AppClient$ClientActor: Connecting to master
akka.tcp://sparkMaster@IP or Hostname:7077/user/Master...
15/04/09 10:58:06 WARN AppClient$ClientActor: Could not connect to
akka.tcp://sparkMaster@IP or Hostname:7077: akka.remote.InvalidAssociation: Invalid address: akka.tcp://sparkMaster@IP or Hostname:7077
15/04/09 10:58:06 WARN Remoting: Tried to associate with unreachable remote address [akka.tcp://sparkMaster@IP or Hostname:7077]. Address is now gated for 5000 ms, all messages to this address will be delivered to dead letters. Reason: IP or Hostname: unknown error
请告诉我如何解决这个问题。
【问题讨论】:
-
您需要将7077端口设置为可外部访问。
标签: apache-spark google-compute-engine