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

Reduce IIP object allocations for inode lookup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 2.9.0, 3.0.0-beta1, 2.8.3
    • namenode
    • None
    • Reviewed

    Description

      IIP#getReadOnlyINodes is invoked frequently for EZ and EC lookups. It allocates unnecessary objects to make the primitive array an immutable array list. IIP already has a method for indexed inode retrieval that can be tweaked to further improve performance.

      Attachments

        1. HDFS-12171.branch-2.patch
          4 kB
          Daryn Sharp
        2. HDFS-12171.patch
          5 kB
          Daryn Sharp

        Issue Links

          Activity

            People

              daryn Daryn Sharp
              daryn Daryn Sharp
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: