问题一、yarn web ui界面没有办法查看application具体运行情况
Yarn Web UI界面效果如下:
点击一个running 状态的application,会显示如下信息:
You (User dr.who) are not authorized to view application application_1557385812521_0002
原因及解决方法
dr.who为yarn登录的默认用户名,修改用户名配置如下:
core-site.xml
<property>
<description>
The user name to filter as, on static web filters
while rendering content. An example use is the HDFS
web UI (user to be used for browsing files).
</description>
<name>hadoop.http.staticuser.user</name>
<value>rhino</value>
</property>
重启hdfs、yarn,再次登录,界面显示如下: