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

load fsimage with parallelization and compression

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 3.3.0
    • None
    • namanode
    • None
    • Hide
      In HDFS-14617, it allows the inode and inode directory sections of the fsimage to be loaded in parallel. But it can't turn on parallelism and compression at the same time. I fixed this defect.
      The idea of this patch is to compress each section separately.
      1、At this patch, when compression and parallel are turned on at the same time, oiv can still work normally. Although each section is split into multiple sections and compressed, it can still be parsed correctly.
      2、If you create a parallel compressed image with this patch, and then try to load it in a NN without this patch and parallel loading disabled, NN is still able to load it.
            Both of these may sound incorrect, but it works. This may happen because the decompressed code can splits each section correctly.
      Show
      In HDFS-14617 , it allows the inode and inode directory sections of the fsimage to be loaded in parallel. But it can't turn on parallelism and compression at the same time. I fixed this defect. The idea of this patch is to compress each section separately. 1、At this patch, when compression and parallel are turned on at the same time, oiv can still work normally. Although each section is split into multiple sections and compressed, it can still be parsed correctly. 2、If you create a parallel compressed image with this patch, and then try to load it in a NN without this patch and parallel loading disabled, NN is still able to load it.       Both of these may sound incorrect, but it works. This may happen because the decompressed code can splits each section correctly.

    Attachments

      1. subsection.svg
        17 kB
        kinit
      2. HDFS-16147.002.patch
        8 kB
        kinit
      3. HDFS-16147.001.patch
        8 kB
        kinit
      4. compress_parallel.png
        40 kB
        kinit
      5. compress_not parallel.png
        40 kB
        kinit

      Issue Links

        Activity

          People

            Unassigned Unassigned
            mofei kinit
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: