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

Namenode Performance Improvement : Using for loop without iterator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      As discussed in HBASE-12023, the for each loop syntax will create few extra objects and garbage.

      For arrays and Lists can change to the traditional syntax.
      This can improve memory foot print and can result in performance gain.

      Attachments

        1. HDFS-9201_draft.patch
          11 kB
          nijel

        Activity

          People

            nijel nijel
            nijel nijel
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: