Formatting the NameNode and Creating the /tmp Directory

When adding the HDFS service, the Add Host wizard automatically formats the NameNode and creates the /tmp directory on HDFS. If you quit the Add Host 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. In the HDFS > Instances tab, click the NameNode role instance. Choose Format from the Actions menu.
  3. In the HDFS > Instances tab, click the NameNode role instance. Choose Create /tmp Directory from the Actions menu.
  4. Start the HDFS service.