I am confuse by the following case: A file (size < block size,replica = 2) is stored in hdfs, use "hadoop fsck + fileName" to count the number of block, because the replica = 2 ,then "Total blocks" should be 2. However, The result of "hadoop fsck" is 1, the output of "hadoop fsck" like this :
Total blocks (validated): 1 (avg. block size 514399 B)
What's wrong? How does hadoop store the file?