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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.8.0, 2.7.3, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: