Description
Number of excess replica is not getting updated in hdfs fsck "-blockId" option for over-replicated blocks
steps:steps:
- Crate a directory and put multple files in it
- Change the replication factor for the file frequently and append data to files.
- Make DN down/up and append data to files.
- Check the -blocks and -location of the file with fsck ,it will display over replicated blocks - If you check the "hdfs fsck -blockId" ,then it will display number of expected replica,number of live replica but number of excess replica will not be updated ,always display as zero which is wrong behavior