班级网站模板html,天元建设集团有限公司资质,国外做连接器平台网站,wordpress模板原创一、前言
记录下在CDP 环境中#xff0c;通过Knox 访问Yarn Web UI#xff0c;无法跳转到Flink Web UI 的BUG 解决方法。
二、问题复现
登录 Knox Web UI 找到任一 Flink 任务 点击 ApplicationMaster 跳转 Flink WEB UI 出问题
内容空白#xff0c;无法正常跳转到…一、前言
记录下在CDP 环境中通过Knox 访问Yarn Web UI无法跳转到Flink Web UI 的BUG 解决方法。
二、问题复现
登录 Knox Web UI 找到任一 Flink 任务 点击 ApplicationMaster 跳转 Flink WEB UI 出问题
内容空白无法正常跳转到Flink WEB UI。
三、问题原因
在yarnui中tracking UI 调转flink会话被破坏导致tracking UI的URL没有以斜杠结尾这使得flink base 基础页面错误。
四、解决方法
确认 knox Knox Gateway Data Directory 的存放路径 登录到 knox 安装节点并跳转到该路径
# knox data dir
cd /mnt/sdb1/knox/gateway/datacd services/yarnui/2.7.0
里面的文件如下
编辑 rewrite.xml 文件
修改第146行251行288行。 具体如下
vim rewrite.xml# 修改第146行
# 原来
rewrite template{$frontend[url]}/yarn/proxy/{**}/
# 修改后
rewrite template{$frontend[url]}/yarn/proxy/{**}//# 修改第251行
# 原来
rewrite template{$frontend[url]}/yarn/proxy/{**}/
# 修改后
rewrite template{$frontend[url]}/yarn/proxy/{**}//# 修改第288行
# 原来
rewrite template{$frontend[url]}/yarn/proxy/{**}/
# 修改后
rewrite template{$frontend[url]}/yarn/proxy/{**}//# 保存
:wq重启Knox 服务。 CM - 集群 - Knox - 操作 - 重启。 重新访问Yarn WEB UI
可以正常访问问题解决
参考
https://issues.apache.org/jira/browse/KNOX-2074https://github.com/apache/knox/commit/ef4fd73ca73630721ee9e2790c9104bbccdf85e0