Hi,
Actually, how does namenode handle when block report is sent from datanodes?
After removing snapshot the file size = 0.5*BLOCK_SIZE.
but the block report says it is 0.6*BLOCK_SIZE,(if we do not shrink the
block)
there is a mismatch.
On Tue, Oct 21, 2014 at 8:34 PM, Pushparaj Motamari
drew
>
> On Tue, Oct 21, 2014 at 7:20 AM, Pushparaj Motamari >
> wrote:
>
> > Hi,
> >
> > Consider the scenario below.
> >
> > /A/file.txt in HDFS
> >
> > 1. file.txt size = 0.5*(Size of Block).
> >
> > 2. Take Snapshot on directo
Hi,
Consider the scenario below.
/A/file.txt in HDFS
1. file.txt size = 0.5*(Size of Block).
2. Take Snapshot on directory A
3. Append to the file.txt, making its size as 0.6*(Size of Block)
4. Remove/delete the snapshot on folder taken in step2.
My Question