Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1061

Memory footprint optimization for INodeFile object.

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor 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.

      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

        Bharath Mundlapudi created issue -
        Bharath Mundlapudi made changes -
        Field Original Value New Value
        Assignee Bharath Mundlapudi [ bharathm ]
        Bharath Mundlapudi made changes -
        Attachment HDFS-1061.patch [ 12439929 ]
        Bharath Mundlapudi made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hong Tang made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Hong Tang made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Jakob Homan made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Bharath Mundlapudi made changes -
        Attachment HDFS-1061.patch.1 [ 12443666 ]
        Bharath Mundlapudi made changes -
        Attachment HDFS-1061.patch.1 [ 12443666 ]
        Bharath Mundlapudi made changes -
        Attachment HDFS-1061-1.patch [ 12443667 ]
        Bharath Mundlapudi made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Bharath Mundlapudi made changes -
        Attachment HDFS-1061-1.patch [ 12443667 ]
        Bharath Mundlapudi made changes -
        Attachment HDFS-1061-1.patch [ 12443718 ]
        Bharath Mundlapudi made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Bharath Mundlapudi made changes -
        Attachment HDFS-1061-2.patch [ 12443783 ]
        Bharath Mundlapudi made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Bharath Mundlapudi made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Bharath Mundlapudi made changes -
        Attachment HDFS-1061-3.patch [ 12444153 ]
        Bharath Mundlapudi made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Jakob Homan made changes -
        Hadoop Flags [Incompatible change, Reviewed]
        Jakob Homan made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Bharath Mundlapudi made changes -
        Attachment HDFS-1061-rel20.patch [ 12446181 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development