hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh Balamohan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-13164) Optimize S3AFileSystem::deleteUnnecessaryFakeDirectories
Date Tue, 17 May 2016 06:15:13 GMT
Rajesh Balamohan created HADOOP-13164:

             Summary: Optimize S3AFileSystem::deleteUnnecessaryFakeDirectories
                 Key: HADOOP-13164
                 URL: https://issues.apache.org/jira/browse/HADOOP-13164
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs/s3
            Reporter: Rajesh Balamohan


deleteUnnecessaryFakeDirectories is invoked in S3AFileSystem during rename and on outputstream
close() to purge any fake directories. Depending on the nesting in the folder structure, it
might take a lot longer time as it invokes getFileStatus multiple times.  Instead, it should
be able to break out of the loop once a non-empty directory is encountered. 

This message was sent by Atlassian JIRA

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

View raw message