You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Zhe Zhang (JIRA)" <ji...@apache.org> on 2016/07/22 17:07:20 UTC

[jira] [Resolved] (HDFS-10653) Optimize conversion from path string to components

     [ https://issues.apache.org/jira/browse/HDFS-10653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhe Zhang resolved HDFS-10653.
------------------------------
    Resolution: Fixed

Local test-patch shows 2 failures but those tests fail even without the patch. I'll create a JIRA to address.

Just committed v03 branch-2.6 patch. Thanks Allen and Daryn for the review and comments.

> Optimize conversion from path string to components
> --------------------------------------------------
>
>                 Key: HDFS-10653
>                 URL: https://issues.apache.org/jira/browse/HDFS-10653
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs
>    Affects Versions: 2.0.0-alpha
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 2.8.0, 2.6.5, 2.7.4
>
>         Attachments: HDFS-10653-branch-2.6.00.patch, HDFS-10653-branch-2.6.01.patch, HDFS-10653-branch-2.6.02.patch, HDFS-10653-branch-2.6.03.patch, HDFS-10653.patch
>
>
> Converting a path String to a byte[][] currently requires an unnecessary intermediate conversion from String to String[].  Removing this will reduce excessive object allocation and byte copying.



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