我可以在此URI上查看YARN上正在运行的作业列表:
https://server1.company.com:8443/gateway/yarnui/yarn/apps/RUNNING
此外,我可以通过打开TrackingUI来访问作业特定信息:
https://server1.company.com:8443/gateway/yarnui/yarn/proxy/application_1481927689976_0178
但是,当我这样做时,我只获取HTML文档,没有其他所需的.js,.css和.png文件:
GET https://server.company.com:8443/gateway/yarnui/yarn/proxy/application_1481927689976_0178
200 OK (text/html)
GET https://server.company com:8443/proxy/application_1481927689976_0178/static/bootstrap.min.css
404 Not Found (text/html)
如果我直接转到正在运行作业的服务器:
http://server2.company.com:8088/proxy/application_1481927689976_0178
一切正常:
GET http://server2.company.com:8088/proxy/application_1481927689976_0178
200 OK (text/html)
GET http://server2.company:8088/proxy/application_1481927689976_0178/static/bootstrap.min.css
200 OK (text/css)
听起来像YARN配置问题 - 但我已将yarn.resourcemanager.webapp.address设置为正确的值:
<property>
<name>yarn.resourcemanager.webapp.address</name>
<value>server2.company.com:8088</value>
</property>
我无法访问这些文件的任何想法?