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

MiniDFSCluster should skip edit log fsync by default

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha, 3.0.0-alpha1
    • Fix Version/s: 2.6.0
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: