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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to