hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhe Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10674) Optimize creating a full path from an inode
Date Wed, 31 Aug 2016 22:35:20 GMT

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

Zhe Zhang commented on HDFS-10674:
----------------------------------

I just committed to branch-2.8 and branch-2.7. Thanks Daryn for sharing the patch and Kihwal
for the initial commit.

> Optimize creating a full path from an inode
> -------------------------------------------
>
>                 Key: HDFS-10674
>                 URL: https://issues.apache.org/jira/browse/HDFS-10674
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 2.8.0, 2.9.0, 2.7.4, 3.0.0-alpha1
>
>         Attachments: HDFS-10674.patch
>
>
> {{INode#getFullPathName}} walks up the inode tree, creates a INode[], converts each component
byte[] name to a String while building the path.  This involves many allocations, copies,
and char conversions.
> The path should be built with a single byte[] allocation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
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