All Products
Search
Document Center

E-MapReduce:NameNode Web UI

Last Updated:Jun 21, 2026

This topic describes how to access the NameNode Web UI, including how to obtain a NameNode endpoint, browse the NameNode UI homepage, and understand the NameNode startup process.

Access the NameNode Web UI

You can access the NameNode Web UI using an SSH tunnel or the console. For details, see Create an SSH tunnel to access web UIs of open source components and Access the web UIs of open source components.

NameNode endpoints

Version

Endpoint

Description

Hadoop 3.x

http://${namenode_hostname}:9870

Replace ${namenode_hostname} with the hostname of the corresponding node.

Hadoop 2.x

http://${namenode_hostname}:50070

Replace ${namenode_hostname} with the hostname of the corresponding node.

NameNode UI homepage

Overview

Under the Overview heading, the first line shows the hostname of the current NameNode. The value in parentheses, active or standby, indicates the high availability (HA) state of the node. The following table describes the other parameters.

Parameter

Description

Namespace

The nameservice endpoint of the NameNode.

NameNode ID

The service ID of the current NameNode.

Started

The time when the NameNode last started.

Version

The HDFS version.

Compiled

Information about the build and compilation.

Cluster ID

The HDFS cluster identifier.

Block Pool ID

The HDFS block pool identifier.

Summary

The Summary page of the NameNode Web UI displays key cluster metrics in a two-column table, including Configured Capacity, DFS Used (used space and percentage), DFS Remaining (remaining space and percentage), Live Nodes, Dead Nodes, Decommissioning Nodes, Last Checkpoint Time, and Enabled Erasure Coding Policies. The page also displays heap and non-heap memory usage at the top.

Key information includes:

  • Security: Indicates whether Kerberos authentication is enabled for the cluster.

  • Safemode: Indicates whether the cluster is in safe mode (read-only).

  • The counts of files, directories, and blocks can differ between the active and standby NameNodes. This is expected. In this case, the data from the active NameNode is authoritative.

NameNode journal status

  • The active NameNode operates in write mode. The top of this page displays the Written txid. Below it is a status table with Journal Manager and State columns. The row for Quorum Journal Manager (QJM) lists the addresses of the three JournalNodes and the Written txid value for each. The row for FileJournalManager shows the path to the EditLog files.

    When you monitor the Quorum Journal Manager (QJM) status of the active node, closely observe the Written txid value of each JournalNode. If a value remains 0 or differs significantly from the other two JournalNodes, you must reset the corresponding JournalNode.

  • The standby NameNode operates in read mode.

    The Quorum Journal Manager (QJM) status on a standby node is typically in read mode and does not require special attention.

NameNode storage

The NameNode storage page displays two storage directories: /mnt/disk1/hdfs/name (Type: IMAGE, State: Active) and /mnt/disk1/hdfs/edits (Type: EDITS, State: Active).

Because the NameNode performs FsImage checkpointing asynchronously, you must closely monitor the Image Type status. For example, if the Image Type on a standby node remains in the Failed state for an extended period, it can cause EditLog files (edits) to accumulate. In this situation, if the NameNode restarts, it will take a significant amount of time to read the backlog of edits.

NameNode startup process

On the Startup Progress page of the NameNode Web UI, you can view the completion percentage and elapsed time of each startup phase. The table contains three columns: Phase, Completion, and Elapsed Time.

A NameNode starts up in several key steps: loading the FsImage, loading the EditLog, and waiting for DataNodes to report their blocks. Normally, these steps complete quickly. If a step takes too long, optimizations may be required.

  • If the Load FsImage and Wait Reported blocks stages take too long, check if the GC parameters need to be adjusted.

  • If the Load edits stage takes too long, check for a backlog of unprocessed logs on the JournalNode. For information about the JournalNode directories, see Local disk directories used by HDFS components.

Related documents

If you encounter any issues or failures when using HDFS, see Frequently asked questions and troubleshooting.