Details
Description
1. allow snapshots under dir /foo
2. create a file /foo/bar
3. create a snapshot s1 under /foo
4. delete the file /foo/bar
5. wait till checkpoint or do saveNameSpace
6. restart NN.
7. Now try to read the file from snapshot /foo/.snapshot/s1/bar
client will get BlockMissingException
Reason is
While loading the deleted file list for a snashottable dir from fsimage, blocks were not updated in blocksmap