hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12171) Reduce IIP object allocations for inode lookup
Date Tue, 25 Jul 2017 15:51:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-12171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16100247#comment-16100247
] 

Kihwal Lee commented on HDFS-12171:
-----------------------------------

+1 Looks like a straightforward optimization.

> 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


Mime
View raw message