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

Reduce DiffListBySkipList memory usage

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: snapshots
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      There are several ways to reduce memory footprint of DiffListBySkipList.

      • Move maxSkipLevels and skipInterval to DirectoryDiffListFactory.
      • Use an array for skipDiffList instead of List.
      • Do not store the level 0 element in skipDiffList.
      • Do not create new ChildrenDiff for the same value.

        Attachments

        1. HDFS-13223.001.patch
          18 kB
          Shashikant Banerjee
        2. HDFS-13223.002.patch
          18 kB
          Shashikant Banerjee
        3. HDFS-13223.003.patch
          26 kB
          Shashikant Banerjee
        4. HDFS-13223.004_commit.patch
          26 kB
          Tsz Wo Nicholas Sze
        5. HDFS-13223.004.patch
          26 kB
          Shashikant Banerjee

          Issue Links

            Activity

              People

              • Assignee:
                shashikant Shashikant Banerjee
                Reporter:
                szetszwo Tsz Wo Nicholas Sze
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: