In some cases, LeaseManager tries to recover a lease, but is not able to. HDFS-4882 describes a possibility of that. We should fix this
Prevent the Namenode's LeaseManager from looping forever in checkLeases
LeaseManager monitor thread can crash if the last block is complete but another block is not.
NameNode doesn't recover lease for files with missing blocks