windows - 尽管集群启动,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
我尝试搜索它,但找不到任何东西
知道我能做些什么来解决这个问题吗?
解决方案
问题是“程序文件”中的空间,所以我在 conf/flink-conf.xml 中设置了 java home,这个错误就消失了。
推荐阅读
- python - 带有保持额外价值的条件的python格式选项
- react-native - 如何在本机反应中在浮动按钮上获得阴影
- operating-system - 列出在完全专用的机器上运行程序所必需的四个步骤——一台只运行该程序的计算机
- javascript - JS ES6 IIFE + 符号和原型 - 添加到实例?
- c# - 为什么 MySQL 返回在 C# 代码中始终为 1,但在存储过程中测试时却不是?
- python - 即使使用 __init__.py 文件,导入也不起作用
- python - 如何使用 opencv 操作将 `plt.imsave` 替换为 `cmap` 选项设置为 `gray`?
- java - 如何检查在 BottomNavigationView 中膨胀了哪个菜单文件?
- jquery - 如何通过按钮单击移动滚动?
- ruby - `+': Fracpri 不能被强制转换为 Fixnum (TypeError)