Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to add more disks to HDFS?

Solved Go to solution

How to add more disks to HDFS?

New Contributor
 
1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to add more disks to HDFS?

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.

3 REPLIES 3

Re: How to add more disks to HDFS?

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

Re: How to add more disks to HDFS?

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.

Re: How to add more disks to HDFS?

Mentor

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