spark集群群起出现“: Name or service not knownstname xxx”问题,hosts未被检验出,没生效
这个是问题的显示
[root@centos-1 spark-standalone]# sbin/start-all.sh
starting org.apache.spark.deploy.master.Master, logging to /opt/module/spark-standalone/logs/spark-root-org.apache.spark.deploy.master.Master-1-centos-1.out
: Name or service not knownstname centos1
: Name or service not knownstname centos2
: Name or service not knownstname centos3
起因是:之前看视频教程,他里面用Xftp软件,能直接对Linux的文件内容进行修改,但他所使用的文本编辑软件是:Notepad++。我图省事就直接用记事本编辑了“slaves”这个文本,然后启动的时候,hosts没识别出来。
原因:用windo

最低0.47元/天 解锁文章
1166

被折叠的 条评论
为什么被折叠?



