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

LazyPersistFileScrubber should still sleep if there are errors in the clear progress

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.8.0, 2.7.3, 3.0.0-alpha1
    • None
    • None

    Description

      If LazyPersistFileScrubber.clearCorruptLazyPersistFiles throw an exception in run(), there will be no sleep logic so it will restart immediately. However it may be still fail so there are too many ERROR logs in namenode said "Ignoring exception in LazyPersistFileScrubber".

      We need sleep if we catch the exception.

      Attachments

        1. 9555-v1.patch
          1 kB
          Phil Yang

        Activity

          People

            yangzhe1991 Phil Yang
            yangzhe1991 Phil Yang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: