Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

volume that will be used on a new datanode in hdfs

avatar
Expert Contributor

hello cloudera community,

 

do I need to insert a new datanode in the hdfs and with that I need to know how much size will be used from this new datanode after performing a rebalance on the hdfs?

 

for example, I have the following scenario:

 

datanode 1 has 36tb total to use, 30tb is being used, containing about 2.5 million blocks
datanode 2 has 36tb total to use, 30tb is being used, containing about 2.5 million blocks
datanode 3 has 36tb total to use, 30tb is being used, containing about 2.5 million blocks
datanode 4 has 36tb total to use, 30tb is being used, containing about 2.5 million blocks
datanode 5 has 36tb total to use, 30tb is being used, containing about 2.5 million blocks
datanode 6 has 36tb total to use, 30tb is being used, containing about 2.5 million blocks

 

i will insert the "datanode 7" which has 36tb total, after performing the rebalance in hdfs, how much will this new datanode 7 receive data?

1 ACCEPTED SOLUTION

avatar
Expert Contributor

hi @ChethanYM 

Thank you for your attention

At the time I opened this question in the community, I made a calculation and the values ended up matching what was being predicted.

View solution in original post

2 REPLIES 2

avatar
Master Collaborator

@yagoaparecidoti 

To estimate how much data the new DataNode 7 will receive after performing a rebalance in HDFS, we need to consider the current data distribution across the existing DataNodes and how the rebalancing algorithm will redistribute the data.

  1. Even Data Distribution: The rebalancing process aims to achieve an even distribution of data blocks across all DataNodes in the cluster. This means that HDFS will attempt to redistribute the existing data blocks among all DataNodes, including the new DataNode 7, to balance storage utilization.

  2. Redistribution Strategy: HDFS will analyze the current data distribution and determine an optimal redistribution strategy to achieve balance. This strategy may involve moving some data blocks from existing DataNodes to DataNode 7, but it's unlikely that all data from all existing DataNodes will be moved to the new DataNode.

  3. Optimization and Efficiency: HDFS aims to minimize data movement and optimize the rebalancing process to achieve a balanced state with minimal disruption. The rebalancing algorithm considers factors such as network bandwidth, disk I/O, and cluster performance to determine the most efficient redistribution strategy.

Given these considerations, it's difficult to provide an exact estimate of how much data DataNode 7 will receive after the rebalance without knowing the specific details of the cluster configuration and the rebalancing algorithm used. However, DataNode 7 will likely receive a portion of the existing data blocks from the other DataNodes to help achieve a balanced distribution of data across the cluster.

Regards,

Chethan YM

avatar
Expert Contributor

hi @ChethanYM 

Thank you for your attention

At the time I opened this question in the community, I made a calculation and the values ended up matching what was being predicted.