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] [Updated] (HDFS-10768) Optimize mkdir ops
Date Tue, 16 Aug 2016 22:43:22 GMT

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

Daryn Sharp updated HDFS-10768:
-------------------------------
    Attachment: HDFS-10768.patch

A few tweaks to IIP methods.  Logic is mostly shuffled around a bit to concentrate recursive
dir creation in createParentDirectories.  This uses a for loop and passes the original component
byte[]s.

> Optimize mkdir ops
> ------------------
>
>                 Key: HDFS-10768
>                 URL: https://issues.apache.org/jira/browse/HDFS-10768
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HDFS-10768.patch
>
>
> Directory creation causes excessive object allocation: ex. an immutable list builder,
containing the string of components converted from the IIP's byte[]s, sublist views of the
string list, iterable, followed by string to byte[] conversion.  This can all be eliminated
by accessing the component's byte[] in the IIP.



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