Wei-Chiu Chuang created HDDS-10005:
--------------------------------------

             Summary: OzoneConfiguration.of() is expensive
                 Key: HDDS-10005
                 URL: https://issues.apache.org/jira/browse/HDDS-10005
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Wei-Chiu Chuang
         Attachments: Screenshot 2023-12-22 at 11.31.33 AM.png

Several APIs in BasicRootedOzoneFileSystem invokes OzoneConfiguration.of(). 
This is expensive because each invocation creates a new copy of 
OzoneConfiguration and it needs to be loaded from Configuration object.

Especially for rename() where it creates the same OzoneConfiguration object 
twice.

Proposal: create one copy of OzoneConfiguration and use it throughout the life 
cycle of the file system object.

 

CC: [~smeng] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to