hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10772) Reduce byte/string conversions for get listing
Date Thu, 18 Aug 2016 23:04:21 GMT

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

Daryn Sharp commented on HDFS-10772:
------------------------------------

Test failure not related.  No test because it's just an optimization to the internals of a
method.

> Reduce byte/string conversions for get listing
> ----------------------------------------------
>
>                 Key: HDFS-10772
>                 URL: https://issues.apache.org/jira/browse/HDFS-10772
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HDFS-10772.patch
>
>
> {{FSDirectory.getListingInt}} does a byte/string conversion for the byte[] startAfter
just to determine if it should be resolved as an inode path.  This is not the common case
but rather for NFS support so it should be avoided.  When the resolution is necessary the
conversions may be reduced.



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