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

Memory footprint optimization for INodeFile object.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.22.0
    • 0.22.0
    • namenode
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: