Access HDFS via the Web

To access HDFS (Hadoop Distributed File System) via the web, you can use the web interface provided by Hadoop to manage and monitor HDFS.

By default, Hadoop provides the following two main web interfaces:

  1. HDFS NameNode Web UI

    This is the file system management interface of the Hadoop cluster. It provides management of file and directory browsing, permission settings, file copy number, etc.

    Normally, you can enter the following address in your browser to access:

    http://<namenode-host>:50070/
    

    where <namenode-host> is the hostname or IP address of the NameNode node in your Hadoop cluster.

  2. Hadoop ResourceManager Web UI

    This is the resource manager interface of the Hadoop cluster, which provides information about cluster resource usage, including running jobs, cluster capacity, etc.

    Normally, you can enter the following address in your browser to access:

    http://<resourcemanager-host>:8088/
    

    where <resourcemanager-host> is the hostname or IP address of the ResourceManager node in your Hadoop cluster.

Please note that to be able to access these web interfaces, you need to ensure that the Hadoop cluster is properly configured and running, and that your network environment allows access to these nodes in the cluster from your machine.

If your Hadoop cluster has a custom configuration or has other special requirements, you may want to consult the documentation for your version of Hadoop for detailed information.

Guess you like

Origin blog.csdn.net/weixin_44943389/article/details/133672117