Apache Ambari Operations
Also available as:
loading table of contents...

Managing Journal Nodes

After you enable NameNode high availability in your cluster, you must maintain at least three, active JournalNodes in your cluster. You can use the Manage JournalNode wizard to assign, add, or remove JournalNodes on hosts in your cluster. The Manage JournalNode wizard enables you to assign JournalNodes, review and confirm required configuration changes, and will restart all components in the cluster to take advantage of the changes made to JournalNode placement and configuration.

Please note that this wizard will restart all cluster services.


  • NameNode high availability must be enabled in your cluster

To manage JournalNodes in your cluster:


  1. In Ambari Web, select Services > HDFS > Summary.

  2. Click Service Actions, then click Manage JournalNodes.

  3. On the Assign JournalNodes page, make assignments by clicking the + and - icons and selecting host names in the drop-down menus. The Assign JournalNodes page enables you to maintain three, current JournalNodes by updating each time you make an assignment.

    When you complete your assignments, click Next.

  4. On the Review page, verify the summary of your JournalNode host assignments and the related configuration changes. When you are satisfied that all assignments match your intentions, click Next:

  5. Using a remote shell, complete the steps on the Save Namespace page. When you have successfully created a checkpoint, click Next:

  6. On the Add/Remove JournalNodes page, monitor the progress bars, then click Next:

  7. Follow the instructions on the Manual Steps Required: Format JournalNodes page and then click Next:

  8. In the remote shell, confirm that you want to initialize JournalNodes, by entering Y, at the following prompt:

    Re-format filesystem in QJM to [host.ip.address.1, host.ip.address.2, host.ip.address.3,] ? (Y or N) Y

  9. On the Start Active NameNodes page, monitor the progress bars as services re-start; then click Next:

  10. On the Manual Steps Required: Bootstrap Standby NameNode page: Complete each step, using the instructions on the page, and then click Next.

  11. In the remote shell, confirm that you want to bootstrap the standby NameNode, by entering Y, at the following prompt:

    RE-format filesystem in Storage Directory /grid/0/hadoop/hdfs/namenode ? (Y or N) Y

  12. On the Start All Services page, monitor the progress bars as the wizard starts all services, then click Done to finish the wizard.

    After the Ambari Web UI reloads, you may see some alert notifications. Wait a few minutes until all the services restart and alerts clear.

  13. Restart any components using Ambari Web, if necessary.

Next Steps

Review and confirm all recommended configuration changes.

More Information

Review and Confirm Configuration Changes

Configuring NameNode High Availability