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

Document - Disabling the Lazy persist file scrubber.

    XMLWordPrintableJSON

Details

    • Reviewed
    • Patch

    Description

      LazyPersistFileScrubber will be disabled if scrubber interval configured to zero. But the document was incorrect - "Set it to a negative value to disable this behavior".

      Namenode will not start if we set to negative value. We have another strong check to prevent it.

         if (this.lazyPersistFileScrubIntervalSec < 0) {
              throw new IllegalArgumentException(
                  DFS_NAMENODE_LAZY_PERSIST_FILE_SCRUB_INTERVAL_SEC
                      + " must be zero (for disable) or greater than zero.");
            }
      

      This seems reflected due to HDFS-8276

      Attachments

        1. HDFS-12987.patch
          0.8 kB
          Karthik Palanisamy

        Activity

          People

            kpalanisamy Karthik Palanisamy
            kpalanisamy Karthik Palanisamy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: