Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15704

Mitigate lease monitor's rapid infinite loop

    XMLWordPrintableJSON

Details

    Description

      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:

      1. lease monitor thread does not sleep if an exception occurs before looping again
      2. 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.

      Attachments

        Issue Links

          Activity

            People

              ahussein Ahmed Hussein
              ahussein Ahmed Hussein
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m