Cloudera Enterprise 5.15.x | Other versions

NameNodes

NameNodes maintain the namespace tree for HDFS and a mapping of file blocks to DataNodes where the data is stored. A simple HDFS cluster can have only one primary NameNode, supported by a secondary NameNode that periodically compresses the NameNode edits log file that contains a list of HDFS metadata modifications. This reduces the amount of disk space consumed by the log file on the NameNode, which also reduces the restart time for the primary NameNode. A high availability cluster contains two NameNodes: active and standby.

Formatting the NameNode and Creating the /tmp Directory

Formatting the NameNode and Creating the /tmp Directory Using Cloudera Manager

Minimum Required Role: Cluster Administrator (also provided by Full Administrator)

When you add an HDFS service, the wizard automatically formats the NameNode and creates the /tmp directory on HDFS. If you quit the wizard or it does not finish, you can format the NameNode and create the /tmp directory outside the wizard by doing these steps:

  1. Stop the HDFS service if it is running. See Starting, Stopping, and Restarting Services.
  2. Click the Instances tab.
  3. Click the NameNode role instance.
  4. Select Actions > Format.
  5. Start the HDFS service.
  6. Select Actions > Create /tmp Directory.

Formatting the NameNode and Creating the /tmp Directory Using the Command Line

Page generated May 18, 2018.