Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-12864

Ozone: Turn off full synced write in RocksDB MetadataStore

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • HDFS-7240
    • ozone
    • None
    • Reviewed
    • ozone

    Description

      Based on the suggestion from xyao I created the patch to turn off fully synced write in the rocksdb.

      With this patch we measured about 10x performance gain (200 nodes cluster + 30 corona instance).

      1. We don't need fully synced rocksdb writing, as HA will cover the few cases when a node would be lost

      2. Long term (IMHO) we need to add a possibility to configure any settings in rocksdb, so it could be turned off, but the setSync(false) is a reasonable default.

      Attachments

        1. HDFS-12864-HDFS-7240.001.patch
          0.7 kB
          Marton Elek

        Activity

          People

            elek Marton Elek
            elek Marton Elek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: