嗨,我是apache spark的新手,我正在尝试学习它
在创建新的独立集群时,我遇到了此错误。
我启动了主服务器,它在端口7077中处于活动状态,我可以在ui(端口8080)中看到它
使用命令启动服务器时
./bin/spark-class org.apache.spark.deploy.worker.Worker spark://192.168.0.56:7077
Run Code Online (Sandbox Code Playgroud)
我遇到连接被拒绝的错误
14/07/22 13:18:30 ERROR EndpointWriter: AssociationError [akka.tcp://sparkWorker@node- physical:55124] -> [akka.tcp://sparkMaster@192.168.0.56:7077]: Error [Association failed with [akka.tcp://sparkMaster@192.168.0.56:7077]] [
akka.remote.EndpointAssociationException: Association failed with [akka.tcp://sparkMaster@192.168.0.56:7077]
Caused by: akka.remote.transport.netty.NettyTransport$$anonfun$associate$1$$anon$2: Connection refused: /192.168.0.56:7077
Run Code Online (Sandbox Code Playgroud)
请帮助我解决我在这里呆了很长时间的错误。
我希望信息足够。请帮忙
检查您的防火墙是否已关闭,因为它可能会通过暂时关闭防火墙来阻止工作连接:
$ sudo service iptables stop
Run Code Online (Sandbox Code Playgroud)
或永久:
$ sudo chkconfig iptables off
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
11720 次 |
| 最近记录: |