hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-10674) Optimize creating a full path from an inode
Date Thu, 21 Jul 2016 22:48:20 GMT
Daryn Sharp created HDFS-10674:
----------------------------------

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


{{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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message