Support Questions

Find answers, ask questions, and share your expertise

How to add more disks to HDFS?

avatar
Contributor
 
1 ACCEPTED SOLUTION

avatar

Add the disks to the datanodes/server and mount them.

Afterwards you should shutdown the datanode, add the new mountpoints to dfs.datanode.data.dir (e.g. /grid/hadoop/hdfs/dn /grid1/hadoop/hdfs/dn / grid2/hadoop/hdfs/dn,...) and restart the datanode.

View solution in original post

3 REPLIES 3

avatar
Master Mentor

you add more disks by adding new nodes called datanodes. If you want to add disk to existing nodes, you will need to change the property in ambari for datanode dir to include the newly created directories. @vijaya inturi

avatar

Add the disks to the datanodes/server and mount them.

Afterwards you should shutdown the datanode, add the new mountpoints to dfs.datanode.data.dir (e.g. /grid/hadoop/hdfs/dn /grid1/hadoop/hdfs/dn / grid2/hadoop/hdfs/dn,...) and restart the datanode.

avatar
Master Mentor

@vijaya inturi are you still having issues with this? Can you accept best answer or provide your own solution?