Adding a DataNode

Learn how to add a new HDFS DataNode.

  1. Sign in to Cloudera Manager.
  2. In the left navigation menu, go to Clusters and select the HDFS cluster.
  3. Select the Actions > Add Role Instances option.
  4. In the Assign Roles tab, select one of the following options from the DataNode drop-down list:
    • All Hosts – Selects all the hosts automatically.
    • Custom – A popup screen displays with all the available hosts. Select the relevant hosts for which you want add the role instance and click OK.
  5. Click Continue.
  6. In the Review Changes tab, update the following configurations:
    • DataNode Data Directory – A comma-separated list of directories where the DataNode stores the HDFS block data. Review and adjust the values as necessary.
    • DataNode Failed Volumes Tolerated – The number of volumes that are allowed to fail before a DataNode stops offering service. By default, any volume failure will cause a DataNode to shutdown. The default value is 0.
  7. Click Finish.
    A new DataNode is added to the HDFS cluster.