You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2017/07/20 18:05:00 UTC

[jira] [Updated] (HDFS-12171) Reduce IIP object allocations for inode lookup

     [ https://issues.apache.org/jira/browse/HDFS-12171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daryn Sharp updated HDFS-12171:
-------------------------------
    Attachment: HDFS-12171.branch-2.patch
                HDFS-12171.patch

Only difference is trunk patch includes EC change.

> Reduce IIP object allocations for inode lookup
> ----------------------------------------------
>
>                 Key: HDFS-12171
>                 URL: https://issues.apache.org/jira/browse/HDFS-12171
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 2.7.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HDFS-12171.branch-2.patch, HDFS-12171.patch
>
>
> {{IIP#getReadOnlyINodes}} is invoked frequently for EZ and EC lookups.  It allocates unnecessary objects to make the primitive array an immutable array list.  IIP already has a method for indexed inode retrieval that can be tweaked to further improve performance.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org