-Re: Unbalanced disks - need to take down whole HDFS?
Allen Wittenauer 2010-12-16, 19:33
On Dec 16, 2010, at 6:32 AM, Erik Forsberg wrote:
> has a solution, but it starts with "Take down HDFS".
> Is that really necessary - shouldn't taking down just that datanode,
> moving around the blocks, then start the datanode be good enough, or
> will that mess up some datastructure in the namenode?
It won't mess up the namenode, but it is going to be busy replicating those blocks on that datanode while you move stuff around. Depending upon how much data is involved, you might find that after you bring the datanode back up the namenode will put you back in a state of major unbalance when it sends a wave of deletions for the extra replicas.