You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tanvi Penumudy (Jira)" <ji...@apache.org> on 2025/04/15 07:15:00 UTC

[jira] [Updated] (HDDS-12841) Remove unnecessary getBucketInfo() call under OFS#readFile API

     [ https://issues.apache.org/jira/browse/HDDS-12841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tanvi Penumudy updated HDDS-12841:
----------------------------------
    Description: 
As of today, the readFile API for the OFS client makes two round trips to the Ozone Manager impacting performance:
 * First, it calls getBucketInfo() to fetch information about the bucket.
 * Then, it calls getKeyInfo() to fetch information about the actual file being read.

However, the first call to obtain getBucketInfo() is not required and can safely be removed.

  was:
As of today, the readFile API for the OFS client makes two round trips to the Ozone Manager impacting performance:
 * First, it calls getBucketInfo() to fetch information about the bucket.
 * Then, it calls getKeyInfo() to fetch information about the actual file being read.

However, the first call to getBucketInfo is not required and can safely be removed.


> Remove unnecessary getBucketInfo() call under OFS#readFile API
> --------------------------------------------------------------
>
>                 Key: HDDS-12841
>                 URL: https://issues.apache.org/jira/browse/HDDS-12841
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Tanvi Penumudy
>            Assignee: Tanvi Penumudy
>            Priority: Major
>
> As of today, the readFile API for the OFS client makes two round trips to the Ozone Manager impacting performance:
>  * First, it calls getBucketInfo() to fetch information about the bucket.
>  * Then, it calls getKeyInfo() to fetch information about the actual file being read.
> However, the first call to obtain getBucketInfo() is not required and can safely be removed.



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

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