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

Reduce IIP object allocations for inode lookup

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.9.0, 3.0.0-beta1, 2.8.3
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: