hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (HDDS-1461) Optimize listStatus api in OzoneFileSystem
Date Wed, 15 May 2019 23:05:00 GMT

     [ https://issues.apache.org/jira/browse/HDDS-1461?focusedWorklogId=242942&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-242942

ASF GitHub Bot logged work on HDDS-1461:

                Author: ASF GitHub Bot
            Created on: 15/May/19 23:04
            Start Date: 15/May/19 23:04
    Worklog Time Spent: 10m 
      Work Description: xiaoyuyao commented on pull request #782: HDDS-1461. Optimize listStatus
api in OzoneFileSystem
URL: https://github.com/apache/hadoop/pull/782#discussion_r284485092

 File path: hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java
 @@ -1416,44 +1421,47 @@ public void createDirectory(OmKeyArgs args) throws IOException {
     try {
       metadataManager.getLock().acquireBucketLock(volumeName, bucketName);
 Review comment:
   this needs to be moved out of try block.
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 242942)
    Time Spent: 1h  (was: 50m)

> Optimize listStatus api in OzoneFileSystem
> ------------------------------------------
>                 Key: HDDS-1461
>                 URL: https://issues.apache.org/jira/browse/HDDS-1461
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>          Components: Ozone Filesystem, Ozone Manager
>            Reporter: Lokesh Jain
>            Assignee: Lokesh Jain
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
> Currently in listStatus we make multiple getFileStatus calls. This can be optimized
by converting to a single rpc call for listStatus.
> Also currently listStatus has to traverse a directory recursively in order to list its
immediate children. This happens because in OzoneManager all the metadata is stored in rocksdb
sorted on keynames. The Jira also aims to fix this by using seek api provided by rocksdb.

This message was sent by Atlassian JIRA

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

View raw message