hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-12184) Avoid redundant ancestor metadata traversals for listStatus child entries.
Date Fri, 21 Jul 2017 18:09:00 GMT
Daryn Sharp created HDFS-12184:
----------------------------------

             Summary: Avoid redundant ancestor metadata traversals for listStatus child entries.
                 Key: HDFS-12184
                 URL: https://issues.apache.org/jira/browse/HDFS-12184
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: namenode
    Affects Versions: 2.7.0
            Reporter: Daryn Sharp
            Assignee: Daryn Sharp


Creating a file status requires metadata for EC, EZ, storage policies, etc that are computed
by traversing up the ancestor inodes.  List status will incur the same penalties for all child
entries when one traversal is enough.  The penalty for large directories is not trivial. 
Storage policies  short-circuit the full traversal.  The other lookups should too.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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