Use WEB to browse and operate the file system, and generally encounter permission problems
This is because the WEB browser is logged in as an anonymous user ( dr.who ), who only has read-only permissions, and most operations cannot be performed.
If you need to operate in the browser as a privileged user, you need to configure the following content in core-site.xml and restart the cluster
<property>
<name>hadoop.http.staticuser.user</name>
<value>hadoop</value>
</property>
However, this is not recommended
•
HDFS WEBUI
, read-only permission is very good, simple browsing is enough
•
If high authority is given, there will be great security problems, resulting in data leakage or loss