首页 > 解决方案 > 尽管集群启动,Flink localhost 仪表板仍无法正常工作

问题描述

我已经下载Flink 1.5.0并运行了 start-cluster 脚本,集群似乎已经成功启动:

$ ./bin/start-cluster.sh
Starting cluster.
Starting standalonesession daemon on host LAPTOP-HRAHBL24.
Starting taskexecutor daemon on host LAPTOP-HRAHBL24.

但是,当我访问 http://localhost:8081/ 时,连接被拒绝。我按照问题取消注释主机文件中的 localhost 行: https ://superuser.com/questions/1008349/unable-to-connect-to-localhost-after-windows-10-upgrade

我检查了日志,里面有这个错误:“/d/Programs/flink-1.5.0/bin/flink-daemon.sh: line 131: C:\Program: No such file or directory”我有这个错误,Flink 1.10.1我尝试搜索它,但找不到任何东西

知道我能做些什么来解决这个问题吗?

标签: windowslocalhostapache-flink

解决方案


问题是“程序文件”中的空间,所以我在 conf/flink-conf.xml 中设置了 java home,这个错误就消失了。


推荐阅读