Details
-
Improvement
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
0.23.4, 2.0.2-alpha
-
None
-
None
Description
When a large number of files are abandoned without closing, a storm of lease expiration follows in about an hour (lease hard limit). For the last block of each file, block recovery is initiated and when the datanode is done, it calls commitBlockSynchronization() is called against namenode. A burst of these calls can slow down namenode considerably. We need to throttle block recovery and/or speed up the rate at which commitBlockSynchronization() is served.
Attachments
Issue Links
- is duplicated by
-
HDFS-5790 LeaseManager.findPath is very slow when many leases need recovery
- Closed