Enable authorization for HDFS web UIs
You can enforce authorization for the following HDFS web UIs: the NameNode, DataNode, and JournalNode.
hdfs
user can access the HDFS web UIs by default. Any other user
who attempts to access the web UI will encounter an error because the user is not
authorized to access the page. For users and groups other than hdfs
to access the web UIs, you must add them to hdfs-site.xml
with an
HDFS Service Advanced Configuration Snippet (Safety
Valve).