Suppose I have a file of 50mb and my default HDFS block size is 64mb. So after storing this 50mb file, we are left with 14mb block size which can be used to store some other file. Now namenode keeps track of the block informations of the files present in HDFS. So in this case there will be 2 records pointing to the same block, one for the 50mb file and one for the 14mb file.
My question is how is the namenode keeps track of these 2 records and provide metadata info about the files as the 2 files will be pointing to the same block.