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

MiniDFSCluster should skip edit log fsync by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha, 3.0.0-alpha1
    • 2.6.0
    • namenode
    • None

    Description

      The mini cluster is unnecessarily running with durable edit logs. The following change cut runtime of a single test from ~30s to ~10s.

      EditLogFileOutputStream.setShouldSkipFsyncForTesting(true);

      The mini cluster should default to this behavior after identifying the few edit log tests that probably depend on durable logs.

      Attachments

        1. HDFS-6773.2.patch
          5 kB
          Stephen Chu
        2. HDFS-6773.2.patch
          5 kB
          Stephen Chu
        3. HDFS-6773.1.patch
          5 kB
          Stephen Chu

        Activity

          People

            schu Stephen Chu
            daryn Daryn Sharp
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: