[ 
https://issues.apache.org/jira/browse/HDFS-15704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDFS-15704:
----------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> [~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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to