You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Supratim Deka (Jira)" <ji...@apache.org> on 2020/01/27 16:34:00 UTC

[jira] [Created] (HDDS-2940) mkdir : create key table entries for intermediate directories in the path

Supratim Deka created HDDS-2940:
-----------------------------------

             Summary: mkdir : create key table entries for intermediate directories in the path
                 Key: HDDS-2940
                 URL: https://issues.apache.org/jira/browse/HDDS-2940
             Project: Hadoop Distributed Data Store
          Issue Type: Sub-task
          Components: Ozone Manager
            Reporter: Supratim Deka
            Assignee: Supratim Deka


During mkdir - the directory create request handler in the OM, create separate key table entries for each of the directories in the path.

This will ensure that every directory that exists in the FS namespace is explicitly listed as an entry in the key table -  instead of being implicit as part of the key of the leaf level directory or file.

This subsequently makes file create operation efficient - there is no requirement to run an expensive iterator on the key table to determine if the file name already exists as a directory.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org