Ahmed Hussein created HDFS-15704:
------------------------------------
Summary: Mitigate lease monitor's rapid infinite loop
Key: HDFS-15704
URL: https://issues.apache.org/jira/browse/HDFS-15704
Project: Hadoop HDFS
Issue Type: Improvement
Components: namenode
Reporter: Ahmed Hussein
Assignee: Ahmed Hussein
[~daryn] reported that the lease monitor goes into a rapid infinite loop if an
exception occurs during a lease recovery. The two main issues are:
# lease monitor thread does not sleep if an exception occurs before looping
again
# the loop peeks at the first element of a sorted tree set so when an exception
occurs, the "bad" lease remains as the first element preventing recovery of
other leases.
This jira is not intended to fix the underlying issues causing the exception
during recovery but merely to mitigate the cited issues.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]