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

Namenode heap optimization - reuse objects for commonly used file names

    Details

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

      Description

      There are a lot of common file names used in HDFS, mainly created by mapreduce, such as file names starting with "part". Reusing byte[] corresponding to these recurring file names will save significant heap space used for storing the file names in millions of INodeFile objects.

        Attachments

        1. hdfs-1110.2.patch
          16 kB
          Suresh Srinivas
        2. hdfs-1110.3.patch
          15 kB
          Suresh Srinivas
        3. hdfs-1110.4.patch
          16 kB
          Suresh Srinivas
        4. hdfs-1110.5.patch
          20 kB
          Suresh Srinivas
        5. hdfs-1110.6.patch
          20 kB
          Suresh Srinivas
        6. hdfs-1110.patch
          12 kB
          Suresh Srinivas
        7. hdfs-1110.y20.patch
          13 kB
          Suresh Srinivas

          Activity

            People

            • Assignee:
              sureshms Suresh Srinivas
              Reporter:
              sureshms Suresh Srinivas
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: