hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiqun Lin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-10925) Cache symlinkString in INodeSymlink
Date Thu, 29 Sep 2016 07:45:20 GMT
Yiqun Lin created HDFS-10925:
--------------------------------

             Summary: Cache symlinkString in INodeSymlink
                 Key: HDFS-10925
                 URL: https://issues.apache.org/jira/browse/HDFS-10925
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Yiqun Lin
            Assignee: Yiqun Lin
            Priority: Minor


In {{INodeSymlink}}'s construct method, it will transfer the input symlink string to a byte
array. If we want to invoke {{INodeSymlink#getSymlinkString}}, it will transfer the byte array
to the string again. Since we don't cache symlinkString  here, it will do the {{DFSUtil.bytes2String}}
method every time. It seems not efficient.



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