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

Memory footprint optimization for INodeFile object.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed

      Description

      I am proposing a footprint optimization to merge blockReplication and preferredBlockSize fields into one 'long header' field in INodeFile class. This saves 8 bytes per INodeFile object on a 64 bit JVM. This memory optimization is transparent and changes are very minimal.

        Attachments

        1. HDFS-1061.patch
          5 kB
          Bharath Mundlapudi
        2. HDFS-1061-1.patch
          9 kB
          Bharath Mundlapudi
        3. HDFS-1061-2.patch
          10 kB
          Bharath Mundlapudi
        4. HDFS-1061-3.patch
          10 kB
          Bharath Mundlapudi
        5. HDFS-1061-rel20.patch
          9 kB
          Bharath Mundlapudi

          Activity

            People

            • Assignee:
              bharathm Bharath Mundlapudi
              Reporter:
              bharathm Bharath Mundlapudi
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: