尽管集群启动,Flink localhost 仪表板仍无法正常工作
Flink localhost dashboard not working despite cluster starting
我已经下载了 Flink 1.5.0
和 运行 启动集群脚本,集群似乎已经成功启动:
$ ./bin/start-cluster.sh
Starting cluster.
Starting standalonesession daemon on host LAPTOP-HRAHBL24.
Starting taskexecutor daemon on host LAPTOP-HRAHBL24.
但是,我在访问http://localhost:8081/ 时,连接被拒绝。我按照问题取消注释我的主机文件中的本地主机行:
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
出现此错误,我尝试搜索它但找不到任何内容
知道我能做些什么来解决这个问题吗?
问题出在 "Program Files" 中的 space,因此我将 java 主页设置为 conf/flink-conf。xml,此错误消失了。
在 conf/flink-conf.yaml 中,使用此变量 env.java.home
设置 java 主页
我已经下载了 Flink 1.5.0
和 运行 启动集群脚本,集群似乎已经成功启动:
$ ./bin/start-cluster.sh
Starting cluster.
Starting standalonesession daemon on host LAPTOP-HRAHBL24.
Starting taskexecutor daemon on host LAPTOP-HRAHBL24.
但是,我在访问http://localhost:8081/ 时,连接被拒绝。我按照问题取消注释我的主机文件中的本地主机行: 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
出现此错误,我尝试搜索它但找不到任何内容
知道我能做些什么来解决这个问题吗?
问题出在 "Program Files" 中的 space,因此我将 java 主页设置为 conf/flink-conf。xml,此错误消失了。
在 conf/flink-conf.yaml 中,使用此变量 env.java.home
设置 java 主页