Ambari FileView 无法打开或上传文件 "Unauthorized connection for super-user"

Ambari FileView cannot open or upload files "Unauthorized connection for super-user"

在 Ambari (v2.7.3) FileView (HDP v3.1.0) 中上传或打开文件时遇到问题。获取错误

超级用户未经授权的连接:

的 root

我认为与这里相关的配置是:

hadoop.proxyuser.hdfs.groups=*
hadoop.proxyuser.hdfs.hosts=*
hadoop.proxyuser.root.groups=*
hadoop.proxyuser.root.hosts=hw001.co.local

在这里看到过类似的问题 (https://community.cloudera.com/t5/Support-Questions/Unauthorized-connection-for-super-user/m-p/10211..。)但不确定问题是否完全相似。

有人知道如何修复或获取更多调试信息吗?

查看更多现有 post here and here 发现也需要更改

hadoop.proxyuser.root.hosts=*

在 ambari 的 HDFS 配置中设置此项并重新启动所需的服务似乎已经解决了这个问题。


任何人都可以帮助解释这个配置或 link 文档解释它的作用/含义(即我希望它并不意味着 root / super-user 权限被授予其他用户以任何方式访问 HDFS)?在此处找到文档 (https://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-common/Superusers.html)。没有太多 HDFS 管理员经验,但是

In other words super is impersonating the user joe

让我担心安全问题。谁能帮助消除这些担忧?