Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

How to add more disks to HDFS?

avatar
Frequent Visitor
 
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?