hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10980) Optimize check for existence of parent directory
Date Fri, 07 Oct 2016 22:13:20 GMT

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

Kihwal Lee commented on HDFS-10980:
-----------------------------------

+1 looks simple and straightforward.

> Optimize check for existence of parent directory
> ------------------------------------------------
>
>                 Key: HDFS-10980
>                 URL: https://issues.apache.org/jira/browse/HDFS-10980
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HDFS-10980.patch
>
>
> {{FSDirectory.verifyParentDir()}} uses a {{Path}} object to parse and return the parent
path.  This is very expensive compared to using the path within 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