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

Namenode heap optimization - reuse objects for commonly used file names

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.22.0
    • None
    • None
    • 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.patch
          12 kB
          Suresh Srinivas
        2. hdfs-1110.2.patch
          16 kB
          Suresh Srinivas
        3. hdfs-1110.3.patch
          15 kB
          Suresh Srinivas
        4. hdfs-1110.4.patch
          16 kB
          Suresh Srinivas
        5. hdfs-1110.5.patch
          20 kB
          Suresh Srinivas
        6. hdfs-1110.6.patch
          20 kB
          Suresh Srinivas
        7. hdfs-1110.y20.patch
          13 kB
          Suresh Srinivas

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: